Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001281, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001352/0.001352, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 290.3 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.3 MB / 0.499 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4623, allocations: 86.99 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007269/0.4696, allocations: 6.145 MB / 0.7731 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00476/0.4744, allocations: 3.168 MB / 0.7762 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.4749, allocations: 27.81 kB / 0.7762 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.4771, allocations: 0.9318 MB / 0.7771 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.4782, allocations: 473.5 kB / 0.7775 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.4793, allocations: 0.4974 MB / 0.778 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.4804, allocations: 1.104 MB / 0.7791 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008209/0.4812, allocations: 0.6269 MB / 0.7797 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.4817, allocations: 450.3 kB / 0.7802 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.4823, allocations: 474.2 kB / 0.7806 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.434e-05/0.4823, allocations: 56 kB / 0.7807 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007421/0.4831, allocations: 498.9 kB / 0.7811 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.4833, allocations: 287.2 kB / 0.7814 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003295/0.4837, allocations: 405.9 kB / 0.7818 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4849, allocations: 1.178 MB / 0.7829 GB, free: 3.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4849, allocations: 0 / 0.7829 GB, free: 3.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4849, allocations: 0 / 0.7829 GB, free: 3.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.4849, allocations: 0 / 0.7829 GB, free: 3.559 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001534/0.4864, allocations: 1.063 MB / 0.784 GB, free: 2.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4865, allocations: 8.031 kB / 0.784 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.488, allocations: 219.7 kB / 0.7842 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.4888, allocations: 0.596 MB / 0.7848 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.4889, allocations: 49.67 kB / 0.7848 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.489, allocations: 68.36 kB / 0.7849 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.4903, allocations: 1.03 MB / 0.7859 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.4904, allocations: 11.84 kB / 0.7859 GB, free: 332 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.4904, allocations: 27.98 kB / 0.7859 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/0.4905, allocations: 69.27 kB / 0.786 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009888/0.4915, allocations: 0.6957 MB / 0.7867 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.496, allocations: 5.725 MB / 0.7923 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.4968, allocations: 0.6005 MB / 0.7929 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007735/0.4976, allocations: 428.6 kB / 0.7933 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.4976, allocations: 4 kB / 0.7933 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.4976, allocations: 42.48 kB / 0.7933 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.4976, allocations: 0 / 0.7933 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004053/0.5017, allocations: 2.023 MB / 0.7953 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.5017, allocations: 55.41 kB / 0.7953 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.5022, allocations: 466.8 kB / 0.7958 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.5022, allocations: 29.7 kB / 0.7958 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.5024, allocations: 387 kB / 0.7962 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.5026, allocations: 153.8 kB / 0.7963 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.5027, allocations: 110.2 kB / 0.7964 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5028, allocations: 362.8 kB / 0.7968 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.5032, allocations: 245.2 kB / 0.797 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.5036, allocations: 453 kB / 0.7974 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008278/0.5044, allocations: 0.7526 MB / 0.7982 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5045, allocations: 0 / 0.7982 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001714/0.5062, allocations: 1.039 MB / 0.7992 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5062, allocations: 8 kB / 0.7992 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.5062, allocations: 8 kB / 0.7992 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009827/0.5072, allocations: 327.1 kB / 0.7995 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.5075, allocations: 99.81 kB / 0.7996 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007185/0.5147, allocations: 7.458 MB / 0.8069 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.5152, allocations: 32.02 kB / 0.8069 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.5153, allocations: 28 kB / 0.807 GB, free: 9.348 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003509/0.5157, allocations: 241.6 kB / 0.8072 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.5158, allocations: 59.34 kB / 0.8072 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.5175, allocations: 0.9004 MB / 0.8081 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5175, allocations: 7.969 kB / 0.8081 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5175, allocations: 0 / 0.8081 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.5177, allocations: 172.3 kB / 0.8083 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.5178, allocations: 8.281 kB / 0.8083 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.5181, allocations: 23.97 kB / 0.8083 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.5182, allocations: 43.92 kB / 0.8084 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001938/0.5202, allocations: 0.9524 MB / 0.8093 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001237/0.5214, allocations: 0.9768 MB / 0.8103 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003436/0.5218, allocations: 247.8 kB / 0.8105 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003467/0.5221, allocations: 310.9 kB / 0.8108 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of Backend: time 2.235e-06/0.5221, allocations: 0 / 0.8108 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.5247, allocations: 1.297 MB / 0.8121 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002902/0.5276, allocations: 1.891 MB / 0.8139 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of Templates: time 0.02204/0.5497, allocations: 12.03 MB / 0.8257 GB, free: 6.145 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)