Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 107.7 kB / 15.99 MB, free: 6.352 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.001336/0.001336, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.305/1.305, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3907, allocations: 76.17 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02962/0.4204, allocations: 33.01 MB / 0.5883 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01957/0.44, allocations: 14.68 MB / 0.6026 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00397/0.444, allocations: 138.7 kB / 0.6027 GB, free: 3.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007753/0.4518, allocations: 3.422 MB / 0.6061 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009177/0.461, allocations: 2.663 MB / 0.6087 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006178/0.4672, allocations: 2.134 MB / 0.6108 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0111/0.4783, allocations: 8.839 MB / 0.6194 GB, free: 3.621 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/0.4945, allocations: 11.36 MB / 0.6305 GB, free: 8.156 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006595/0.5012, allocations: 4.011 MB / 0.6344 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006947/0.5081, allocations: 4.221 MB / 0.6385 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002566/0.5107, allocations: 0.7188 MB / 0.6392 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005551/0.5163, allocations: 1.716 MB / 0.6409 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004798/0.5211, allocations: 2.826 MB / 0.6437 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00663/0.5277, allocations: 3.392 MB / 0.647 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.5421, allocations: 11.21 MB / 0.6579 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5422, allocations: 0 / 0.6579 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5422, allocations: 0 / 0.6579 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003733/0.5426, allocations: 0 / 0.6579 GB, free: 11.98 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01628/0.5588, allocations: 5.968 MB / 0.6638 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.5589, allocations: 8.031 kB / 0.6638 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002259/0.5612, allocations: 0.7349 MB / 0.6645 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007426/0.5686, allocations: 1.145 MB / 0.6656 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00766/0.5763, allocations: 3.325 MB / 0.6688 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.5767, allocations: 374.4 kB / 0.6692 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/0.5783, allocations: 495.8 kB / 0.6697 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.5949, allocations: 8.009 MB / 0.6775 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.595, allocations: 23.78 kB / 0.6775 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005008/0.5955, allocations: 216 kB / 0.6777 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001/0.5966, allocations: 437.5 kB / 0.6781 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.607, allocations: 6.081 MB / 0.6841 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04387/0.6509, allocations: 35.15 MB / 0.7184 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.6538, allocations: 2.03 MB / 0.7204 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/0.6563, allocations: 1.861 MB / 0.7222 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.6565, allocations: 18 kB / 0.7222 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.6565, allocations: 64.44 kB / 0.7223 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 3.436e-06/0.6565, allocations: 0 / 0.7223 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.409/1.066, allocations: 38.87 MB / 0.7602 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/1.066, allocations: 85.09 kB / 0.7603 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/1.07, allocations: 2.276 MB / 0.7625 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003556/1.07, allocations: 72.64 kB / 0.7626 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/1.072, allocations: 2.278 MB / 0.7648 GB, free: 153 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000887/1.072, allocations: 0.9307 MB / 0.7657 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/1.074, allocations: 0.5096 MB / 0.7662 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.151e-05/1.074, allocations: 312.6 kB / 0.7665 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/1.076, allocations: 1.973 MB / 0.7685 GB, free: 151 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/1.08, allocations: 2.597 MB / 0.771 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006364/1.086, allocations: 4.935 MB / 0.7758 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.896e-05/1.086, allocations: 4.344 kB / 0.7758 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01374/1.1, allocations: 7.752 MB / 0.7834 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/1.1, allocations: 22.72 kB / 0.7834 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/1.1, allocations: 19.2 kB / 0.7834 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00847/1.108, allocations: 3.244 MB / 0.7866 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.11, allocations: 402.9 kB / 0.787 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03448/1.144, allocations: 33.88 MB / 0.8201 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/1.147, allocations: 163.8 kB / 0.8202 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004554/1.148, allocations: 112 kB / 0.8203 GB, free: 106.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002729/1.151, allocations: 1.797 MB / 0.8221 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007727/1.151, allocations: 333.5 kB / 0.8224 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.163, allocations: 7.357 MB / 0.8296 GB, free: 97.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.163, allocations: 28 kB / 0.8296 GB, free: 97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.534e-05/1.163, allocations: 28 kB / 0.8297 GB, free: 96.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/1.163, allocations: 15.95 kB / 0.8297 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.182, allocations: 12.93 MB / 0.8423 GB, free: 83.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.182, allocations: 4.844 kB / 0.8423 GB, free: 83.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/1.183, allocations: 235.4 kB / 0.8425 GB, free: 83.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006796/1.19, allocations: 2.873 MB / 0.8453 GB, free: 80.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/1.19, allocations: 56 kB / 0.8454 GB, free: 80.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03104/1.221, allocations: 32.71 MB / 0.8773 GB, free: 47.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.221, allocations: 12 kB / 0.8773 GB, free: 47.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009809/1.231, allocations: 6.882 MB / 0.8841 GB, free: 40.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.232, allocations: 0.7783 MB / 0.8848 GB, free: 39.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/1.233, allocations: 55.91 kB / 0.8849 GB, free: 39.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.234, allocations: 175.7 kB / 0.885 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008156/1.235, allocations: 249.5 kB / 0.8853 GB, free: 38.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.235, allocations: 79.98 kB / 0.8853 GB, free: 38.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001552/1.237, allocations: 1.525 MB / 0.8868 GB, free: 37.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.237, allocations: 0 / 0.8868 GB, free: 37.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003759/1.24, allocations: 1.367 MB / 0.8882 GB, free: 35.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009599/1.25, allocations: 7.511 MB / 0.8955 GB, free: 28.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.261, allocations: 8.374 MB / 0.9037 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.261, allocations: 4 kB / 0.9037 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006221/1.268, allocations: 4.416 MB / 0.908 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006396/1.274, allocations: 1.115 MB / 0.9091 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1051/1.379, allocations: 46.04 MB / 0.9541 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007355/1.386, allocations: 3.647 MB / 0.9576 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002385/1.389, allocations: 0.5556 MB / 0.9582 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002521/1.391, allocations: 1.968 MB / 0.9601 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/1.391, allocations: 0 / 0.9601 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4505/1.842, allocations: 113 MB / 1.07 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/1.842, allocations: 248.2 kB / 1.071 GB, free: 148.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.127/5.969, allocations: 0 / 1.071 GB, free: 148.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)