Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001471/0.001471, allocations: 103.9 kB / 16.64 MB, free: 6.816 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.001589/0.001589, allocations: 194 kB / 17.57 MB, free: 5.918 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.38/1.38, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7546/0.7546, allocations: 122.8 MB / 414.2 MB, free: 12 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 0.4912 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.375, allocations: 77.92 MB / 0.5673 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007218/0.3823, allocations: 6.144 MB / 0.5733 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004725/0.387, allocations: 3.137 MB / 0.5764 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.3877, allocations: 31.12 kB / 0.5764 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.39, allocations: 0.8912 MB / 0.5773 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.3919, allocations: 436.8 kB / 0.5777 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3937, allocations: 455.3 kB / 0.5782 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.3955, allocations: 1.103 MB / 0.5792 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.3966, allocations: 0.706 MB / 0.5799 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007665/0.3974, allocations: 448.7 kB / 0.5803 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.3981, allocations: 495.4 kB / 0.5808 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.3982, allocations: 58.97 kB / 0.5809 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3992, allocations: 490.1 kB / 0.5813 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.3995, allocations: 290.5 kB / 0.5816 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.3999, allocations: 400.8 kB / 0.582 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.4011, allocations: 0.9238 MB / 0.5829 GB, free: 22.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4011, allocations: 2.844 kB / 0.5829 GB, free: 22.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4011, allocations: 0 / 0.5829 GB, free: 22.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.4012, allocations: 0 / 0.5829 GB, free: 22.75 MB / 446.1 MB 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.001564/0.4027, allocations: 1.064 MB / 0.5839 GB, free: 21.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4028, allocations: 16.02 kB / 0.584 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.4043, allocations: 217.1 kB / 0.5842 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.405, allocations: 0.5385 MB / 0.5847 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.405, allocations: 50.27 kB / 0.5847 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4051, allocations: 65.08 kB / 0.5848 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.4064, allocations: 1.035 MB / 0.5858 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.4065, allocations: 8.25 kB / 0.5858 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.4065, allocations: 32.36 kB / 0.5859 GB, free: 20.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-05/0.4066, allocations: 68.39 kB / 0.5859 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009311/0.4076, allocations: 0.6919 MB / 0.5866 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/0.4116, allocations: 5.747 MB / 0.5922 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.4123, allocations: 0.6035 MB / 0.5928 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007103/0.4131, allocations: 423.1 kB / 0.5932 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.4131, allocations: 3.75 kB / 0.5932 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.4131, allocations: 41.16 kB / 0.5932 GB, free: 14.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.893e-06/0.4131, allocations: 4 kB / 0.5932 GB, free: 14.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004657/0.4178, allocations: 2.049 MB / 0.5952 GB, free: 12.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.4179, allocations: 55.81 kB / 0.5953 GB, free: 12.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.4185, allocations: 467 kB / 0.5957 GB, free: 12.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4185, allocations: 30.89 kB / 0.5958 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.4187, allocations: 388.8 kB / 0.5961 GB, free: 12.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.4189, allocations: 154.4 kB / 0.5963 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.4191, allocations: 108.5 kB / 0.5964 GB, free: 11.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4192, allocations: 372.2 kB / 0.5968 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.4196, allocations: 244.1 kB / 0.597 GB, free: 11.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.42, allocations: 458.8 kB / 0.5974 GB, free: 10.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/0.421, allocations: 0.7575 MB / 0.5982 GB, free: 10.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.421, allocations: 2.625 kB / 0.5982 GB, free: 10.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001615/0.4226, allocations: 1.072 MB / 0.5992 GB, free: 9.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.4227, allocations: 8 kB / 0.5992 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4227, allocations: 4 kB / 0.5992 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009293/0.4236, allocations: 343.4 kB / 0.5996 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.4239, allocations: 91.89 kB / 0.5996 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.4291, allocations: 7.515 MB / 0.607 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.4296, allocations: 32.02 kB / 0.607 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.4297, allocations: 24 kB / 0.607 GB, free: 0.7812 MB / 446.1 MB 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.0003448/0.43, allocations: 249.5 kB / 0.6073 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.4301, allocations: 63.28 kB / 0.6073 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.4317, allocations: 0.9079 MB / 0.6082 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.4317, allocations: 4 kB / 0.6082 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4317, allocations: 8 kB / 0.6082 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4318, allocations: 3.984 kB / 0.6082 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.4345, allocations: 1.717 MB / 0.6099 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.4345, allocations: 0 / 0.6099 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.4347, allocations: 44.03 kB / 0.6099 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009451/0.4357, allocations: 335.3 kB / 0.6103 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.4357, allocations: 12 kB / 0.6103 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007821/0.4435, allocations: 7.509 MB / 0.6176 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.4436, allocations: 7.938 kB / 0.6176 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.4454, allocations: 1.003 MB / 0.6186 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.4458, allocations: 176.3 kB / 0.6188 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.4459, allocations: 12 kB / 0.6188 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4462, allocations: 15.98 kB / 0.6188 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.4464, allocations: 47.94 kB / 0.6188 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.4464, allocations: 8 kB / 0.6188 GB, free: 3.914 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003906/0.4468, allocations: 314.9 kB / 0.6191 GB, free: 3.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4468, allocations: 0 / 0.6191 GB, free: 3.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000948/0.4477, allocations: 199.9 kB / 0.6193 GB, free: 3.414 MB / 462.1 MB 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 (23): * Single equations (assignments): 19 * 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%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001835/0.4479, allocations: 111.5 kB / 0.6194 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.45, allocations: 1.246 MB / 0.6207 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4501, allocations: 0 / 0.6207 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.4513, allocations: 0.8665 MB / 0.6215 GB, free: 1.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4524, allocations: 192.9 kB / 0.6217 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.4551, allocations: 1.599 MB / 0.6233 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.4557, allocations: 0.9921 MB / 0.6242 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.4559, allocations: 39.44 kB / 0.6243 GB, free: 14.19 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4559, allocations: 3.938 kB / 0.6243 GB, free: 14.18 MB / 478.1 MB Notification: Performance of Templates: time 0.024/0.4799, allocations: 18.66 MB / 0.6425 GB, free: 11.57 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)