Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001116/0.001116, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 291.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9845/0.9845, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4514, allocations: 86.98 MB / 0.7671 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005797/0.4573, allocations: 4.368 MB / 0.7713 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004775/0.462, allocations: 3.233 MB / 0.7745 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.4624, allocations: 11.94 kB / 0.7745 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.464, allocations: 0.5135 MB / 0.775 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000992/0.465, allocations: 384.5 kB / 0.7754 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.4657, allocations: 255.3 kB / 0.7756 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008334/0.4666, allocations: 0.5918 MB / 0.7762 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007165/0.4673, allocations: 0.5209 MB / 0.7767 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.4679, allocations: 295.1 kB / 0.777 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004777/0.4683, allocations: 275 kB / 0.7772 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.4685, allocations: 36 kB / 0.7773 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.469, allocations: 291.5 kB / 0.7775 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.4692, allocations: 163.6 kB / 0.7777 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.4695, allocations: 226.9 kB / 0.7779 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009233/0.4704, allocations: 0.7815 MB / 0.7787 GB, free: 8.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4704, allocations: 0 / 0.7787 GB, free: 8.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4704, allocations: 0 / 0.7787 GB, free: 8.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.4705, allocations: 0 / 0.7787 GB, free: 8.086 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001496/0.472, allocations: 0.7713 MB / 0.7794 GB, free: 7.266 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.472, allocations: 12.03 kB / 0.7794 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.4748, allocations: 0.6594 MB / 0.7801 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.4756, allocations: 451.8 kB / 0.7805 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.4756, allocations: 21.03 kB / 0.7805 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.4757, allocations: 32.12 kB / 0.7806 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.4773, allocations: 0.7786 MB / 0.7813 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4773, allocations: 3.984 kB / 0.7813 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.4774, allocations: 15.94 kB / 0.7814 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.4775, allocations: 40.61 kB / 0.7814 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.4795, allocations: 0.8647 MB / 0.7822 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00388/0.4834, allocations: 2.788 MB / 0.785 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.4851, allocations: 0.5047 MB / 0.7854 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006926/0.4858, allocations: 252.6 kB / 0.7857 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.4859, allocations: 93.03 kB / 0.7858 GB, free: 456 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.486, allocations: 34.84 kB / 0.7858 GB, free: 412 kB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 3.156e-06/0.486, allocations: 0 / 0.7858 GB, free: 412 kB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.0113/0.4973, allocations: 2.959 MB / 0.7887 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.4973, allocations: 55.41 kB / 0.7888 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.4978, allocations: 413.5 kB / 0.7891 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.4979, allocations: 33.69 kB / 0.7892 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.498, allocations: 227.9 kB / 0.7894 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.4981, allocations: 86.75 kB / 0.7895 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.4983, allocations: 69.69 kB / 0.7895 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4984, allocations: 342.8 kB / 0.7899 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/0.4994, allocations: 352.4 kB / 0.7902 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/0.5004, allocations: 420.4 kB / 0.7906 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.5022, allocations: 0.7363 MB / 0.7913 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5022, allocations: 4 kB / 0.7913 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004872/0.5071, allocations: 1.464 MB / 0.7928 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5071, allocations: 8 kB / 0.7928 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5071, allocations: 0 / 0.7928 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/0.5106, allocations: 0.7741 MB / 0.7935 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.5112, allocations: 135.8 kB / 0.7937 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.5182, allocations: 4.833 MB / 0.7984 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007687/0.519, allocations: 103.9 kB / 0.7985 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.5191, allocations: 15.98 kB / 0.7985 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00116/0.5203, allocations: 0.5216 MB / 0.799 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009124/0.5212, allocations: 402.1 kB / 0.7994 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001733/0.5229, allocations: 0.7123 MB / 0.8001 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.5229, allocations: 0 / 0.8001 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.00413/0.5271, allocations: 1.239 MB / 0.8013 GB, free: 36 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5271, allocations: 11.94 kB / 0.8013 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5271, allocations: 0 / 0.8013 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.5294, allocations: 0.5003 MB / 0.8018 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.5301, allocations: 135.8 kB / 0.8019 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.5336, allocations: 2.605 MB / 0.8045 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/0.5344, allocations: 103.8 kB / 0.8046 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.5345, allocations: 15.98 kB / 0.8046 GB, free: 12.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.5347, allocations: 201.1 kB / 0.8048 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.5348, allocations: 31.62 kB / 0.8048 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/0.5393, allocations: 1.341 MB / 0.8061 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5393, allocations: 0 / 0.8061 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5393, allocations: 0 / 0.8061 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.5396, allocations: 176.6 kB / 0.8063 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.5397, allocations: 11.94 kB / 0.8063 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.5403, allocations: 83.8 kB / 0.8064 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.5404, allocations: 19.97 kB / 0.8064 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003382/0.5438, allocations: 1.161 MB / 0.8075 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002252/0.546, allocations: 1.115 MB / 0.8086 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006937/0.5468, allocations: 319 kB / 0.8089 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003532/0.5471, allocations: 299.1 kB / 0.8092 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of Backend: time 4e-07/0.5471, allocations: 0 / 0.8092 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003615/0.5507, allocations: 1.468 MB / 0.8106 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00189/0.5527, allocations: 1.427 MB / 0.812 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.02186/0.5745, allocations: 14.73 MB / 0.8264 GB, free: 6.109 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)