Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009318/0.0009318, allocations: 172.8 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007596/0.0007596, allocations: 80.19 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 17.59 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02059/0.1984, allocations: 30.05 MB / 0.9256 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.2133, allocations: 13.61 MB / 0.9388 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.2159, allocations: 131.2 kB / 0.939 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.005888/0.2218, allocations: 2.939 MB / 0.9418 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005841/0.2277, allocations: 2.47 MB / 0.9443 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.2315, allocations: 1.841 MB / 0.9461 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007247/0.2387, allocations: 10.4 MB / 0.9562 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00925/0.248, allocations: 9.013 MB / 0.965 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004173/0.2522, allocations: 2.627 MB / 0.9676 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00355/0.2558, allocations: 2.93 MB / 0.9704 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004507/0.2562, allocations: 244 kB / 0.9707 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.2585, allocations: 1.38 MB / 0.972 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001576/0.2601, allocations: 1.917 MB / 0.9739 GB, free: 4.176 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002438/0.2626, allocations: 2.347 MB / 0.9762 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.009355/0.2719, allocations: 9.009 MB / 0.985 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.272, allocations: 0 / 0.985 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.272, allocations: 0 / 0.985 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002487/0.2722, allocations: 0 / 0.985 GB, free: 8.777 MB / 0.6355 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.008278/0.2805, allocations: 4.154 MB / 0.989 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2806, allocations: 20.02 kB / 0.9891 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001454/0.282, allocations: 0.6125 MB / 0.9897 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005557/0.2876, allocations: 1.006 MB / 0.9906 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005288/0.2929, allocations: 2.888 MB / 0.9935 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.2932, allocations: 316.9 kB / 0.9938 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007506/0.2939, allocations: 419.8 kB / 0.9942 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.3056, allocations: 6.799 MB / 1.001 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.3057, allocations: 11.94 kB / 1.001 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000466/0.3062, allocations: 188 kB / 1.001 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000856/0.3071, allocations: 372 kB / 1.001 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.3173, allocations: 5.118 MB / 1.006 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03503/0.3524, allocations: 30.75 MB / 1.036 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.3542, allocations: 1.402 MB / 1.038 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.3557, allocations: 1.335 MB / 1.039 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.725e-05/0.3558, allocations: 13.31 kB / 1.039 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3559, allocations: 55.8 kB / 1.039 GB, free: 14.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 3.437e-06/0.3559, allocations: 0 / 1.039 GB, free: 14.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=199): time 0.4009/0.7568, allocations: 22.77 MB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.7568, allocations: 76.72 kB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.76, allocations: 2.065 MB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.7603, allocations: 57.14 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.7617, allocations: 2.014 MB / 1.065 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000625/0.7624, allocations: 0.6732 MB / 1.066 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.7627, allocations: 182.5 kB / 1.066 GB, free: 140.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.7627, allocations: 307.9 kB / 1.067 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.7649, allocations: 1.432 MB / 1.068 GB, free: 139.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.7671, allocations: 2.012 MB / 1.07 GB, free: 138.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/0.7712, allocations: 3.699 MB / 1.074 GB, free: 136.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.7712, allocations: 3.906 kB / 1.074 GB, free: 136.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009964/0.7812, allocations: 5.662 MB / 1.079 GB, free: 133.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.7813, allocations: 11.84 kB / 1.079 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.7813, allocations: 15.62 kB / 1.079 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006118/0.7874, allocations: 2.088 MB / 1.081 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.7889, allocations: 375.3 kB / 1.082 GB, free: 133.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02842/0.8173, allocations: 35.55 MB / 1.116 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.8197, allocations: 127.9 kB / 1.116 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.8198, allocations: 91.98 kB / 1.116 GB, free: 101.4 MB / 0.698 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.00214/0.822, allocations: 1.508 MB / 1.118 GB, free: 99.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/0.8224, allocations: 284.6 kB / 1.118 GB, free: 99.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00831/0.8307, allocations: 5.209 MB / 1.123 GB, free: 94.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.8307, allocations: 19.98 kB / 1.123 GB, free: 94.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.8308, allocations: 20 kB / 1.123 GB, free: 94.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.8308, allocations: 7.969 kB / 1.123 GB, free: 94.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.8447, allocations: 9.685 MB / 1.133 GB, free: 84.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.8447, allocations: 8.156 kB / 1.133 GB, free: 84.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.8454, allocations: 219.6 kB / 1.133 GB, free: 84.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004955/0.8504, allocations: 1.845 MB / 1.135 GB, free: 82.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.8506, allocations: 40 kB / 1.135 GB, free: 82.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/0.8746, allocations: 34.55 MB / 1.169 GB, free: 45.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.8746, allocations: 11.98 kB / 1.169 GB, free: 45.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007356/0.882, allocations: 4.907 MB / 1.173 GB, free: 40.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.8831, allocations: 0.6225 MB / 1.174 GB, free: 39.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/0.8835, allocations: 40 kB / 1.174 GB, free: 39.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.8846, allocations: 131.8 kB / 1.174 GB, free: 39.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005896/0.8852, allocations: 193.7 kB / 1.174 GB, free: 39.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.8854, allocations: 52.56 kB / 1.174 GB, free: 39.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001447/0.8868, allocations: 1.382 MB / 1.176 GB, free: 37.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8868, allocations: 0 / 1.176 GB, free: 37.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003015/0.8898, allocations: 1.031 MB / 1.177 GB, free: 36.8 MB / 0.698 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.007251/0.8971, allocations: 5.537 MB / 1.182 GB, free: 31.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007331/0.9044, allocations: 6.273 MB / 1.188 GB, free: 24.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.9045, allocations: 4 kB / 1.188 GB, free: 24.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004661/0.9091, allocations: 4.399 MB / 1.193 GB, free: 19.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005153/0.9143, allocations: 0.9229 MB / 1.193 GB, free: 19.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04738/0.9617, allocations: 35.94 MB / 1.229 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003362/0.9651, allocations: 3.123 MB / 1.232 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001641/0.9667, allocations: 0.5237 MB / 1.232 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/0.9684, allocations: 1.675 MB / 1.234 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.9684, allocations: 0 / 1.234 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6442/1.613, allocations: 85.66 MB / 1.317 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/1.613, allocations: 255 kB / 1.318 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.804/6.417, allocations: 0 / 1.318 GB, free: 2.293 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)