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.001389/0.001388, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.001652/0.001652, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002257/0.002257, allocations: 285 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9527/0.9527, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 92.28 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.406, allocations: 86.99 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008396/0.4144, allocations: 6.732 MB / 0.7736 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004699/0.4191, allocations: 3.024 MB / 0.7766 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005654/0.4197, allocations: 23.88 kB / 0.7766 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.4222, allocations: 0.9541 MB / 0.7775 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.4234, allocations: 0.5246 MB / 0.7781 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4245, allocations: 423 kB / 0.7785 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.426, allocations: 1.224 MB / 0.7797 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000986/0.427, allocations: 0.6622 MB / 0.7803 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.4278, allocations: 470.4 kB / 0.7808 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.4286, allocations: 0.5176 MB / 0.7813 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.4288, allocations: 71.94 kB / 0.7813 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.4296, allocations: 375.2 kB / 0.7817 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.43, allocations: 303.2 kB / 0.782 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.4306, allocations: 449.7 kB / 0.7824 GB, free: 4.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.432, allocations: 1.217 MB / 0.7836 GB, free: 2.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.432, allocations: 3.938 kB / 0.7836 GB, free: 2.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.432, allocations: 0 / 0.7836 GB, free: 2.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.999e-05/0.4321, allocations: 0 / 0.7836 GB, free: 2.91 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.002338/0.4344, allocations: 1.161 MB / 0.7847 GB, free: 1.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4345, allocations: 12.03 kB / 0.7847 GB, free: 1.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.4362, allocations: 239.5 kB / 0.785 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009724/0.4372, allocations: 0.5843 MB / 0.7855 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.4372, allocations: 49.67 kB / 0.7856 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.4373, allocations: 64.38 kB / 0.7857 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4388, allocations: 1.097 MB / 0.7867 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4388, allocations: 7.938 kB / 0.7867 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.4389, allocations: 24 kB / 0.7868 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.439, allocations: 85.25 kB / 0.7868 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.4401, allocations: 0.7543 MB / 0.7876 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/0.4451, allocations: 5.874 MB / 0.7933 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.4461, allocations: 0.5573 MB / 0.7938 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.4465, allocations: 326 kB / 0.7942 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.4466, allocations: 4.438 kB / 0.7942 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4466, allocations: 46.88 kB / 0.7942 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 1.833e-06/0.4466, allocations: 0 / 0.7942 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003585/0.4502, allocations: 1.99 MB / 0.7962 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.4502, allocations: 55.84 kB / 0.7962 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.4508, allocations: 0.5547 MB / 0.7967 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.4508, allocations: 37.7 kB / 0.7968 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.4511, allocations: 414.9 kB / 0.7972 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.4512, allocations: 169.6 kB / 0.7973 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.4514, allocations: 126.6 kB / 0.7975 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4515, allocations: 370.7 kB / 0.7978 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.452, allocations: 277.8 kB / 0.7981 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.4526, allocations: 0.4892 MB / 0.7986 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.4536, allocations: 0.8054 MB / 0.7993 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4536, allocations: 8 kB / 0.7994 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001644/0.4553, allocations: 1.083 MB / 0.8004 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4553, allocations: 8 kB / 0.8004 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4553, allocations: 4.031 kB / 0.8004 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007984/0.4561, allocations: 283.1 kB / 0.8007 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4566, allocations: 123.8 kB / 0.8008 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.4626, allocations: 7.141 MB / 0.8078 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.4632, allocations: 40.03 kB / 0.8078 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.4632, allocations: 32 kB / 0.8079 GB, free: 8.5 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.0003182/0.4635, allocations: 250.1 kB / 0.8081 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4637, allocations: 75.09 kB / 0.8082 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.4652, allocations: 0.8847 MB / 0.809 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4652, allocations: 7.922 kB / 0.809 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4652, allocations: 0 / 0.809 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.4655, allocations: 188.2 kB / 0.8092 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.4656, allocations: 12 kB / 0.8092 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.466, allocations: 23.97 kB / 0.8092 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.4661, allocations: 48.36 kB / 0.8093 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001907/0.468, allocations: 0.9515 MB / 0.8102 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001188/0.4692, allocations: 1.044 MB / 0.8112 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003345/0.4696, allocations: 267.3 kB / 0.8115 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003893/0.47, allocations: 379.1 kB / 0.8119 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of Backend: time 6.41e-07/0.47, allocations: 0 / 0.8119 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.4723, allocations: 1.317 MB / 0.8131 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00241/0.4747, allocations: 1.949 MB / 0.815 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of Templates: time 0.02208/0.4968, allocations: 13.19 MB / 0.8279 GB, free: 3.891 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)