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.001172/0.001172, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001158/0.001158, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 298.2 kB / 291.5 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.926/0.926, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.49, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008752/0.4988, allocations: 6.731 MB / 0.7736 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.504, allocations: 3.032 MB / 0.7766 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007997/0.5048, allocations: 27.81 kB / 0.7766 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.5078, allocations: 0.9565 MB / 0.7775 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.5092, allocations: 0.4972 MB / 0.778 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.5103, allocations: 428.3 kB / 0.7784 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.512, allocations: 1.217 MB / 0.7796 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.5131, allocations: 0.6545 MB / 0.7803 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007748/0.5139, allocations: 482.3 kB / 0.7807 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000905/0.5148, allocations: 0.5175 MB / 0.7812 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.515, allocations: 68 kB / 0.7813 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007959/0.5158, allocations: 375.3 kB / 0.7817 GB, free: 4.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.5161, allocations: 303.2 kB / 0.7819 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.5167, allocations: 453.7 kB / 0.7824 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.5182, allocations: 1.221 MB / 0.7836 GB, free: 2.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5182, allocations: 0 / 0.7836 GB, free: 2.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5182, allocations: 3.938 kB / 0.7836 GB, free: 2.938 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.122e-05/0.5183, allocations: 0 / 0.7836 GB, free: 2.938 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002221/0.5205, allocations: 1.149 MB / 0.7847 GB, free: 1.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.5206, allocations: 8.031 kB / 0.7847 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.5222, allocations: 243.5 kB / 0.7849 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.5232, allocations: 0.5959 MB / 0.7855 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.5233, allocations: 49.67 kB / 0.7856 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5234, allocations: 60.38 kB / 0.7856 GB, free: 0.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.525, allocations: 1.085 MB / 0.7867 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.525, allocations: 11.92 kB / 0.7867 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.5251, allocations: 32 kB / 0.7867 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/0.5253, allocations: 85.25 kB / 0.7868 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.5264, allocations: 0.7465 MB / 0.7875 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005394/0.5318, allocations: 5.874 MB / 0.7933 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009692/0.5328, allocations: 0.5555 MB / 0.7938 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/0.5333, allocations: 326 kB / 0.7941 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.5333, allocations: 8.438 kB / 0.7941 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.5334, allocations: 43 kB / 0.7942 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.5334, allocations: 0 / 0.7942 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003779/0.5372, allocations: 1.99 MB / 0.7961 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.5372, allocations: 63.84 kB / 0.7962 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/0.5379, allocations: 0.5508 MB / 0.7967 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.5379, allocations: 37.7 kB / 0.7968 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.5382, allocations: 414.9 kB / 0.7972 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.5384, allocations: 173.6 kB / 0.7973 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.5386, allocations: 122.6 kB / 0.7974 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5387, allocations: 378.7 kB / 0.7978 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.5391, allocations: 273.8 kB / 0.7981 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.5397, allocations: 493 kB / 0.7985 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.5407, allocations: 0.8094 MB / 0.7993 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5407, allocations: 0 / 0.7993 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001826/0.5425, allocations: 1.091 MB / 0.8004 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5426, allocations: 8 kB / 0.8004 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.5426, allocations: 8 kB / 0.8004 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007982/0.5434, allocations: 275.6 kB / 0.8007 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.5439, allocations: 127.7 kB / 0.8008 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/0.5503, allocations: 7.141 MB / 0.8078 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.5508, allocations: 35.97 kB / 0.8078 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.5509, allocations: 28 kB / 0.8078 GB, free: 8.539 MB / 0.5762 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.0003074/0.5512, allocations: 256 kB / 0.8081 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5513, allocations: 79.09 kB / 0.8081 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.5528, allocations: 0.873 MB / 0.809 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5529, allocations: 11.92 kB / 0.809 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5529, allocations: 4 kB / 0.809 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.5531, allocations: 188.2 kB / 0.8092 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.5532, allocations: 8.188 kB / 0.8092 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.5536, allocations: 35.95 kB / 0.8092 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.5537, allocations: 44.36 kB / 0.8093 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001931/0.5556, allocations: 0.9515 MB / 0.8102 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001227/0.5569, allocations: 1.041 MB / 0.8112 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003369/0.5572, allocations: 267.2 kB / 0.8115 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004035/0.5576, allocations: 391 kB / 0.8118 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of Backend: time 6.41e-07/0.5576, allocations: 4 kB / 0.8118 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002355/0.56, allocations: 1.304 MB / 0.8131 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002614/0.5626, allocations: 1.951 MB / 0.815 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of Templates: time 0.02174/0.5844, allocations: 13.19 MB / 0.8279 GB, free: 3.922 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)