Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 111.5 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 192 kB / 17.31 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 289.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9227/0.9227, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 93.73 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1464, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008435/0.1549, allocations: 6.728 MB / 0.6882 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2422/0.3971, allocations: 3.024 MB / 0.6911 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.3974, allocations: 28.84 kB / 0.6912 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.3996, allocations: 0.95 MB / 0.6921 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008674/0.4005, allocations: 0.5032 MB / 0.6926 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000884/0.4014, allocations: 421.3 kB / 0.693 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.4025, allocations: 1.225 MB / 0.6942 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008422/0.4033, allocations: 0.6567 MB / 0.6948 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.4038, allocations: 472.1 kB / 0.6953 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.4044, allocations: 0.5182 MB / 0.6958 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.4046, allocations: 66.53 kB / 0.6958 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006604/0.4052, allocations: 381.3 kB / 0.6962 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.4055, allocations: 308.3 kB / 0.6965 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.4059, allocations: 457 kB / 0.6969 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.4071, allocations: 1.216 MB / 0.6981 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4071, allocations: 1.375 kB / 0.6981 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4071, allocations: 0 / 0.6981 GB, free: 10.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4072, allocations: 0 / 0.6981 GB, free: 10.95 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001655/0.4088, allocations: 1.151 MB / 0.6992 GB, free: 10.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.4089, allocations: 9.625 kB / 0.6993 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.4104, allocations: 244.2 kB / 0.6995 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/0.4113, allocations: 0.5899 MB / 0.7001 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.4113, allocations: 46.2 kB / 0.7001 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.4115, allocations: 73.25 kB / 0.7002 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.4128, allocations: 1.08 MB / 0.7012 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.4129, allocations: 10.72 kB / 0.7012 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.413, allocations: 32.88 kB / 0.7013 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.4131, allocations: 87.41 kB / 0.7014 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.4143, allocations: 0.7533 MB / 0.7021 GB, free: 8.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004172/0.4184, allocations: 5.878 MB / 0.7078 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009519/0.4194, allocations: 0.5572 MB / 0.7084 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/0.4198, allocations: 325 kB / 0.7087 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.4199, allocations: 4.781 kB / 0.7087 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4199, allocations: 43.16 kB / 0.7087 GB, free: 3.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 1.703e-06/0.4199, allocations: 4 kB / 0.7087 GB, free: 3.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.003709/0.4236, allocations: 1.976 MB / 0.7107 GB, free: 2.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.4237, allocations: 57.64 kB / 0.7107 GB, free: 2.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.4243, allocations: 0.5571 MB / 0.7113 GB, free: 2.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.4243, allocations: 36.3 kB / 0.7113 GB, free: 2.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.4245, allocations: 417.3 kB / 0.7117 GB, free: 1.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4246, allocations: 172.7 kB / 0.7119 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.4248, allocations: 124.9 kB / 0.712 GB, free: 1.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.4249, allocations: 377.6 kB / 0.7123 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.4253, allocations: 274.1 kB / 0.7126 GB, free: 1.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.4258, allocations: 496.9 kB / 0.7131 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009742/0.4268, allocations: 0.8158 MB / 0.7139 GB, free: 148 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4268, allocations: 5.938 kB / 0.7139 GB, free: 144 kB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001789/0.4286, allocations: 1.085 MB / 0.7149 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4286, allocations: 11.06 kB / 0.715 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4286, allocations: 6 kB / 0.715 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008054/0.4294, allocations: 278 kB / 0.7152 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.4299, allocations: 126.8 kB / 0.7153 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006261/0.4362, allocations: 7.138 MB / 0.7223 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/0.4368, allocations: 40.89 kB / 0.7224 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.4369, allocations: 27.61 kB / 0.7224 GB, free: 9.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.4372, allocations: 251.1 kB / 0.7226 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4374, allocations: 76 kB / 0.7227 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.4389, allocations: 0.8795 MB / 0.7236 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4389, allocations: 8.469 kB / 0.7236 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.439, allocations: 3.969 kB / 0.7236 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.439, allocations: 2.719 kB / 0.7236 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.4416, allocations: 1.729 MB / 0.7253 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4416, allocations: 1.25 kB / 0.7253 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.4419, allocations: 66.56 kB / 0.7253 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000703/0.4426, allocations: 271.1 kB / 0.7256 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.4426, allocations: 10.66 kB / 0.7256 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/0.4488, allocations: 7.124 MB / 0.7325 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.4488, allocations: 6.531 kB / 0.7325 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.4503, allocations: 0.9789 MB / 0.7335 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.4507, allocations: 188.9 kB / 0.7337 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.4508, allocations: 15.66 kB / 0.7337 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.4512, allocations: 33.17 kB / 0.7337 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4513, allocations: 43.3 kB / 0.7338 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.4513, allocations: 14.66 kB / 0.7338 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004547/0.4518, allocations: 385.3 kB / 0.7342 GB, free: 292 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4518, allocations: 0 / 0.7342 GB, free: 292 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009158/0.4527, allocations: 222 kB / 0.7344 GB, free: 272 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.4529, allocations: 119.7 kB / 0.7345 GB, free: 160 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.4548, allocations: 1.279 MB / 0.7357 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.4548, allocations: 1.688 kB / 0.7357 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.456, allocations: 0.8879 MB / 0.7366 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/0.457, allocations: 218.1 kB / 0.7368 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.459, allocations: 1.327 MB / 0.7381 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.4596, allocations: 1.007 MB / 0.7391 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003488/0.46, allocations: 123.5 kB / 0.7392 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4601, allocations: 44.38 kB / 0.7392 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.4601, allocations: 0 / 0.7392 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.01738/0.4775, allocations: 11.18 MB / 0.7502 GB, free: 6.078 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)