Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_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.006813/0.006813, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001132/0.001132, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 286 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 100.2 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4346, allocations: 86.97 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03392/0.4686, allocations: 30.76 MB / 0.7959 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02087/0.4895, allocations: 13.59 MB / 0.8092 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.4924, allocations: 143.2 kB / 0.8094 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008243/0.5006, allocations: 3.201 MB / 0.8125 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007346/0.508, allocations: 2.761 MB / 0.8152 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004953/0.513, allocations: 2.016 MB / 0.8171 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008961/0.5219, allocations: 7.644 MB / 0.8246 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009245/0.5312, allocations: 8.224 MB / 0.8326 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005303/0.5365, allocations: 3.474 MB / 0.836 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005812/0.5424, allocations: 3.383 MB / 0.8393 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.5439, allocations: 0.5938 MB / 0.8399 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.5477, allocations: 1.49 MB / 0.8414 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00292/0.5507, allocations: 2.37 MB / 0.8437 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004583/0.5553, allocations: 2.882 MB / 0.8465 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.5659, allocations: 9.465 MB / 0.8557 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.566, allocations: 0 / 0.8557 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.853e-06/0.566, allocations: 0 / 0.8557 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002557/0.5663, allocations: 0 / 0.8557 GB, free: 7.504 MB / 0.6231 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.01098/0.5772, allocations: 5.14 MB / 0.8608 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5773, allocations: 8.031 kB / 0.8608 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009195/0.5782, allocations: 0.6203 MB / 0.8614 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005645/0.5839, allocations: 0.998 MB / 0.8624 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006052/0.5899, allocations: 3.079 MB / 0.8654 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.5902, allocations: 308.9 kB / 0.8657 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009177/0.5911, allocations: 423.8 kB / 0.8661 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.6027, allocations: 6.791 MB / 0.8727 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.6028, allocations: 23.77 kB / 0.8727 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004559/0.6033, allocations: 184 kB / 0.8729 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008081/0.6041, allocations: 376 kB / 0.8732 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009221/0.6133, allocations: 5.11 MB / 0.8782 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03484/0.6482, allocations: 30.52 MB / 0.908 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.6504, allocations: 1.387 MB / 0.9094 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/0.6521, allocations: 1.332 MB / 0.9107 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.6523, allocations: 13.31 kB / 0.9107 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.6523, allocations: 55.81 kB / 0.9108 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=130): time 3.076e-06/0.6523, allocations: 0 / 0.9108 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=199): time 0.08152/0.7339, allocations: 23.08 MB / 0.9333 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.7339, allocations: 77.34 kB / 0.9334 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.7371, allocations: 2.058 MB / 0.9354 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.7373, allocations: 57.7 kB / 0.9354 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.7387, allocations: 2.01 MB / 0.9374 GB, free: 436 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006791/0.7394, allocations: 0.6779 MB / 0.9381 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008153/0.7402, allocations: 408.2 kB / 0.9385 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7403, allocations: 309 kB / 0.9387 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.7424, allocations: 1.426 MB / 0.9401 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.7449, allocations: 2.021 MB / 0.9421 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004834/0.7498, allocations: 3.692 MB / 0.9457 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/0.7498, allocations: 4 kB / 0.9457 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01079/0.7606, allocations: 5.661 MB / 0.9513 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.7606, allocations: 12 kB / 0.9513 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.7607, allocations: 16 kB / 0.9513 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006675/0.7674, allocations: 2.087 MB / 0.9533 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.7688, allocations: 375.4 kB / 0.9537 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3989/1.168, allocations: 38.43 MB / 0.9912 GB, free: 163.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.17, allocations: 126.5 kB / 0.9913 GB, free: 163.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/1.17, allocations: 90.45 kB / 0.9914 GB, free: 163.6 MB / 0.7325 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.001929/1.172, allocations: 1.509 MB / 0.9929 GB, free: 162.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/1.173, allocations: 280 kB / 0.9932 GB, free: 162.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008748/1.181, allocations: 5.212 MB / 0.9982 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.181, allocations: 20.98 kB / 0.9983 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-05/1.181, allocations: 22.53 kB / 0.9983 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/1.181, allocations: 9.562 kB / 0.9983 GB, free: 160.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/1.196, allocations: 9.675 MB / 1.008 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.196, allocations: 11.41 kB / 1.008 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/1.197, allocations: 220.1 kB / 1.008 GB, free: 156.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005132/1.202, allocations: 1.839 MB / 1.01 GB, free: 156.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.202, allocations: 43.12 kB / 1.01 GB, free: 156.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02685/1.229, allocations: 37.43 MB / 1.046 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.229, allocations: 11.94 kB / 1.046 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/1.236, allocations: 4.916 MB / 1.051 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.238, allocations: 0.6082 MB / 1.052 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/1.238, allocations: 43.89 kB / 1.052 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/1.239, allocations: 139.8 kB / 1.052 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005178/1.24, allocations: 189.5 kB / 1.052 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.24, allocations: 60 kB / 1.052 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001449/1.241, allocations: 1.374 MB / 1.054 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.241, allocations: 0 / 1.054 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002753/1.244, allocations: 1.051 MB / 1.055 GB, free: 108.4 MB / 0.7325 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.007254/1.251, allocations: 5.525 MB / 1.06 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008079/1.259, allocations: 6.299 MB / 1.066 GB, free: 96.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.259, allocations: 5.266 kB / 1.066 GB, free: 96.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005377/1.265, allocations: 4.394 MB / 1.07 GB, free: 91.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/1.268, allocations: 0.9934 MB / 1.071 GB, free: 90.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04226/1.311, allocations: 30.65 MB / 1.101 GB, free: 59.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003589/1.314, allocations: 3.125 MB / 1.104 GB, free: 55.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001841/1.316, allocations: 0.5198 MB / 1.105 GB, free: 55.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.318, allocations: 1.675 MB / 1.106 GB, free: 53.68 MB / 0.7325 GB Notification: Performance of SimCode: time 1.223e-06/1.318, allocations: 0 / 1.106 GB, free: 53.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/1.468, allocations: 88.16 MB / 1.193 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/16.15, allocations: 3.156 kB / 1.193 GB, free: 14.72 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)