Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001174/0.001174, allocations: 106.2 kB / 16.41 MB, free: 6.492 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.001162/0.001162, allocations: 191.9 kB / 17.34 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6618/0.6618, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 66.7 kB / 0.5572 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.121, allocations: 76.18 MB / 0.6316 GB, free: 4.742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03793/0.159, allocations: 34.8 MB / 0.6656 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.1771, allocations: 11.5 MB / 0.6768 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.1797, allocations: 163.2 kB / 0.677 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.1901, allocations: 4.257 MB / 0.6811 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005195/0.1953, allocations: 2.1 MB / 0.6832 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005671/0.201, allocations: 2.405 MB / 0.6855 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008666/0.2097, allocations: 8.483 MB / 0.6938 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01333/0.223, allocations: 11.12 MB / 0.7047 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005073/0.2281, allocations: 3.802 MB / 0.7084 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005562/0.2337, allocations: 4.183 MB / 0.7125 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.2353, allocations: 0.7773 MB / 0.7132 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/0.2392, allocations: 2.028 MB / 0.7152 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003323/0.2426, allocations: 3.057 MB / 0.7182 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004197/0.2468, allocations: 3.408 MB / 0.7215 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.2571, allocations: 11.98 MB / 0.7332 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2571, allocations: 0 / 0.7332 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2571, allocations: 0 / 0.7332 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001649/0.2573, allocations: 4 kB / 0.7332 GB, free: 12.29 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.009551/0.2668, allocations: 5.799 MB / 0.7389 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2669, allocations: 11.97 kB / 0.7389 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/0.2679, allocations: 0.8051 MB / 0.7397 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005015/0.2729, allocations: 1.064 MB / 0.7407 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005246/0.2782, allocations: 3.453 MB / 0.7441 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.2785, allocations: 407.5 kB / 0.7445 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000744/0.2792, allocations: 0.5393 MB / 0.745 GB, free: 76 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2975/0.5767, allocations: 9.085 MB / 0.7539 GB, free: 95.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.5769, allocations: 29.89 kB / 0.7539 GB, free: 95.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004463/0.5773, allocations: 232 kB / 0.7541 GB, free: 94.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003333/0.5777, allocations: 349.2 kB / 0.7545 GB, free: 94.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.5878, allocations: 6.826 MB / 0.7611 GB, free: 92.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.6135, allocations: 39.8 MB / 0.8 GB, free: 56.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.6163, allocations: 3.105 MB / 0.803 GB, free: 52.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/0.6182, allocations: 1.988 MB / 0.805 GB, free: 50.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.772e-05/0.6183, allocations: 22 kB / 0.805 GB, free: 50.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.6183, allocations: 48.56 kB / 0.805 GB, free: 50.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 3.257e-06/0.6183, allocations: 0 / 0.805 GB, free: 50.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.0185/0.6368, allocations: 9.981 MB / 0.8148 GB, free: 40.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.6369, allocations: 73.41 kB / 0.8149 GB, free: 40.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.6383, allocations: 1.534 MB / 0.8164 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/0.6383, allocations: 53.7 kB / 0.8164 GB, free: 39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007615/0.6391, allocations: 2.249 MB / 0.8186 GB, free: 36.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.6394, allocations: 0.6305 MB / 0.8192 GB, free: 36.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/0.6399, allocations: 411.9 kB / 0.8196 GB, free: 35.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.6399, allocations: 301.1 kB / 0.8199 GB, free: 35.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.6411, allocations: 1.176 MB / 0.8211 GB, free: 34.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.6426, allocations: 1.885 MB / 0.8229 GB, free: 32.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.6456, allocations: 3.371 MB / 0.8262 GB, free: 28.33 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.6456, allocations: 11.94 kB / 0.8262 GB, free: 28.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005549/0.6511, allocations: 4.573 MB / 0.8307 GB, free: 23.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6512, allocations: 17.59 kB / 0.8307 GB, free: 23.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.6512, allocations: 20.88 kB / 0.8307 GB, free: 23.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/0.6542, allocations: 1.584 MB / 0.8322 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009448/0.6551, allocations: 359.3 kB / 0.8326 GB, free: 21.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/0.6718, allocations: 18.58 MB / 0.8507 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.673, allocations: 111.9 kB / 0.8508 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.6731, allocations: 99.98 kB / 0.8509 GB, free: 2.406 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002053/0.6752, allocations: 1.894 MB / 0.8528 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.6754, allocations: 229.3 kB / 0.853 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0062/0.6816, allocations: 4.093 MB / 0.857 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6816, allocations: 16 kB / 0.857 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.6817, allocations: 23.94 kB / 0.857 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.6817, allocations: 15.95 kB / 0.8571 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.6944, allocations: 9.46 MB / 0.8663 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.6944, allocations: 4 kB / 0.8663 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.6951, allocations: 185.8 kB / 0.8665 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/0.6982, allocations: 1.355 MB / 0.8678 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.6984, allocations: 35.94 kB / 0.8678 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01954/0.7179, allocations: 17.35 MB / 0.8848 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.7179, allocations: 7.938 kB / 0.8848 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/0.724, allocations: 4.071 MB / 0.8888 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/0.7249, allocations: 0.5295 MB / 0.8893 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.7251, allocations: 36 kB / 0.8893 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/0.7259, allocations: 87.89 kB / 0.8894 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.7262, allocations: 165.6 kB / 0.8896 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.7263, allocations: 55.92 kB / 0.8896 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001294/0.7276, allocations: 1.008 MB / 0.8906 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7276, allocations: 0 / 0.8906 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002374/0.73, allocations: 0.9883 MB / 0.8916 GB, free: 7.887 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006062/0.7361, allocations: 4.663 MB / 0.8961 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005758/0.7418, allocations: 4.299 MB / 0.9003 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7418, allocations: 0 / 0.9003 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.7455, allocations: 2.662 MB / 0.9029 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.7481, allocations: 0.7788 MB / 0.9037 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0367/0.7848, allocations: 26.82 MB / 0.9299 GB, free: 15.46 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003554/0.7884, allocations: 3.573 MB / 0.9334 GB, free: 11.86 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001208/0.7896, allocations: 463.9 kB / 0.9338 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/0.7913, allocations: 1.792 MB / 0.9355 GB, free: 9.605 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/0.7914, allocations: 3.938 kB / 0.9355 GB, free: 9.602 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.9002, allocations: 73.88 MB / 1.008 GB, free: 376 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.92, allocations: 16.28 kB / 1.008 GB, free: 364 kB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)