Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.00111/0.001111, allocations: 104.3 kB / 16.27 MB, free: 6.41 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.001072/0.001073, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.256/1.256, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6855/0.6855, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.88 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.312, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02706/0.3391, allocations: 30.74 MB / 0.5973 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.3556, allocations: 13.6 MB / 0.6106 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.3581, allocations: 143.2 kB / 0.6107 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006677/0.3648, allocations: 3.195 MB / 0.6139 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005475/0.3703, allocations: 2.662 MB / 0.6165 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.3742, allocations: 2.013 MB / 0.6184 GB, free: 6.391 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007254/0.3815, allocations: 7.614 MB / 0.6259 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008026/0.3895, allocations: 8.283 MB / 0.6339 GB, free: 6.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004455/0.394, allocations: 3.396 MB / 0.6373 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0044/0.3984, allocations: 3.383 MB / 0.6406 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009113/0.3993, allocations: 0.5976 MB / 0.6411 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.402, allocations: 1.494 MB / 0.6426 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.404, allocations: 2.366 MB / 0.6449 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00354/0.4075, allocations: 2.882 MB / 0.6477 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009127/0.4167, allocations: 9.399 MB / 0.6569 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.4167, allocations: 0 / 0.6569 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4167, allocations: 0 / 0.6569 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002874/0.417, allocations: 0 / 0.6569 GB, free: 14.77 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01006/0.4271, allocations: 5.14 MB / 0.6619 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4272, allocations: 8.625 kB / 0.6619 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008211/0.428, allocations: 0.6203 MB / 0.6625 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005136/0.4331, allocations: 0.998 MB / 0.6635 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/0.4379, allocations: 2.892 MB / 0.6663 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.4381, allocations: 324.8 kB / 0.6667 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006139/0.4387, allocations: 419.8 kB / 0.6671 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.4489, allocations: 6.795 MB / 0.6737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.339e-05/0.449, allocations: 15.84 kB / 0.6737 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.4494, allocations: 184 kB / 0.6739 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008554/0.4503, allocations: 376 kB / 0.6742 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008332/0.4586, allocations: 5.11 MB / 0.6792 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0338/0.4924, allocations: 30.74 MB / 0.7092 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.4944, allocations: 1.391 MB / 0.7106 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.496, allocations: 1.328 MB / 0.7119 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.852e-05/0.4961, allocations: 13.31 kB / 0.7119 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.4962, allocations: 55.88 kB / 0.712 GB, free: 3.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.085e-06/0.4962, allocations: 0 / 0.712 GB, free: 3.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08559/0.5818, allocations: 23.07 MB / 0.7345 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.5819, allocations: 73.41 kB / 0.7346 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.5853, allocations: 2.062 MB / 0.7366 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.5855, allocations: 61.7 kB / 0.7366 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.587, allocations: 2.006 MB / 0.7386 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007341/0.5878, allocations: 0.6777 MB / 0.7393 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008867/0.5887, allocations: 412.2 kB / 0.7397 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5888, allocations: 309.1 kB / 0.74 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.5909, allocations: 1.426 MB / 0.7413 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.5934, allocations: 2.013 MB / 0.7433 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2221/0.8155, allocations: 3.693 MB / 0.7469 GB, free: 152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.8155, allocations: 6.906 kB / 0.7469 GB, free: 152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01147/0.827, allocations: 5.66 MB / 0.7525 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.8271, allocations: 12.83 kB / 0.7525 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.8271, allocations: 17.62 kB / 0.7525 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006161/0.8333, allocations: 2.096 MB / 0.7545 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.8347, allocations: 380.3 kB / 0.7549 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03085/0.8656, allocations: 38.46 MB / 0.7925 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.868, allocations: 130.1 kB / 0.7926 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.8682, allocations: 87.16 kB / 0.7927 GB, free: 118.4 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002183/0.8704, allocations: 1.503 MB / 0.7941 GB, free: 117.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.8709, allocations: 282.1 kB / 0.7944 GB, free: 117.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008305/0.8792, allocations: 5.217 MB / 0.7995 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.8792, allocations: 19.06 kB / 0.7995 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-05/0.8793, allocations: 23.09 kB / 0.7995 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.8793, allocations: 11.95 kB / 0.7995 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.8941, allocations: 9.678 MB / 0.809 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.8941, allocations: 6.297 kB / 0.809 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/0.8949, allocations: 219.2 kB / 0.8092 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005182/0.9001, allocations: 1.85 MB / 0.811 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/0.9004, allocations: 44 kB / 0.8111 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02678/0.9271, allocations: 37.46 MB / 0.8476 GB, free: 66.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.9272, allocations: 16 kB / 0.8477 GB, free: 66.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007392/0.9346, allocations: 4.906 MB / 0.8524 GB, free: 61.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.9359, allocations: 0.6148 MB / 0.853 GB, free: 60.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/0.9364, allocations: 43.84 kB / 0.8531 GB, free: 60.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.9378, allocations: 135.8 kB / 0.8532 GB, free: 60.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005443/0.9383, allocations: 189.5 kB / 0.8534 GB, free: 60.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.9384, allocations: 59.98 kB / 0.8535 GB, free: 60.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001498/0.9399, allocations: 1.374 MB / 0.8548 GB, free: 58.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.91e-07/0.9399, allocations: 0 / 0.8548 GB, free: 58.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003076/0.943, allocations: 1.055 MB / 0.8558 GB, free: 57.91 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.007187/0.9502, allocations: 5.534 MB / 0.8612 GB, free: 52.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009904/0.9601, allocations: 7.219 MB / 0.8683 GB, free: 44.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/0.9602, allocations: 4 kB / 0.8683 GB, free: 44.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005644/0.9658, allocations: 4.392 MB / 0.8726 GB, free: 40.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/0.9707, allocations: 0.9956 MB / 0.8735 GB, free: 39.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04418/1.015, allocations: 34.09 MB / 0.9068 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003519/1.018, allocations: 3.128 MB / 0.9099 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002231/1.021, allocations: 0.516 MB / 0.9104 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/1.023, allocations: 1.675 MB / 0.912 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of SimCode: time 1.613e-06/1.023, allocations: 0 / 0.912 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4185/1.441, allocations: 89.21 MB / 0.9991 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.6, allocations: 10.03 kB / 0.9992 GB, free: 214.8 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)