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_L.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_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.752/1.752, allocations: 249.3 MB / 261.8 MB, free: 6.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001157, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.000904/0.0009039, allocations: 88.36 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.497e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2393, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8666/1.106, allocations: 164.6 MB / 1.053 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.106, allocations: 90.31 kB / 1.053 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4438/1.55, allocations: 179.7 MB / 1.228 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/1.55, allocations: 0 / 1.228 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003924/1.551, allocations: 116.2 kB / 1.228 GB, free: 4.723 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01352/1.564, allocations: 3.83 MB / 1.232 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.564, allocations: 8.031 kB / 1.232 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003454/1.568, allocations: 0.6857 MB / 1.233 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007464/1.575, allocations: 0.9427 MB / 1.234 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008212/1.583, allocations: 2.991 MB / 1.236 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/1.584, allocations: 341.3 kB / 1.237 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002303/1.586, allocations: 467.8 kB / 1.237 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/1.607, allocations: 7.232 MB / 1.244 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000276/1.608, allocations: 23.78 kB / 1.244 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001732/1.61, allocations: 212 kB / 1.245 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/1.61, allocations: 277 kB / 1.245 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/1.623, allocations: 5.087 MB / 1.25 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6159/2.239, allocations: 35.06 MB / 1.284 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/2.243, allocations: 2.122 MB / 1.286 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/2.245, allocations: 1.248 MB / 1.287 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/2.245, allocations: 14.28 kB / 1.287 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/2.245, allocations: 51.2 kB / 1.287 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 4.479e-06/2.245, allocations: 0 / 1.287 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.009657/2.254, allocations: 4.546 MB / 1.292 GB, free: 188 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/2.255, allocations: 73.16 kB / 1.292 GB, free: 188 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/2.257, allocations: 1.256 MB / 1.293 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002044/2.257, allocations: 49.42 kB / 1.293 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/2.259, allocations: 1.984 MB / 1.295 GB, free: 187 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006091/2.259, allocations: 486.7 kB / 1.296 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/2.259, allocations: 35.78 kB / 1.296 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001612/2.26, allocations: 383.2 kB / 1.296 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/2.261, allocations: 0.8891 MB / 1.297 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/2.263, allocations: 1.533 MB / 1.298 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/2.265, allocations: 1.162 MB / 1.299 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-05/2.265, allocations: 7.406 kB / 1.299 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006909/2.271, allocations: 3.449 MB / 1.303 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/2.272, allocations: 15.62 kB / 1.303 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.577e-05/2.272, allocations: 25.28 kB / 1.303 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/2.274, allocations: 0.8946 MB / 1.304 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/2.276, allocations: 344.7 kB / 1.304 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/2.294, allocations: 21.18 MB / 1.325 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/2.296, allocations: 100.3 kB / 1.325 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/2.296, allocations: 88.48 kB / 1.325 GB, free: 169.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004065/2.297, allocations: 221.3 kB / 1.325 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/2.297, allocations: 200.1 kB / 1.325 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/2.303, allocations: 2.955 MB / 1.328 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/2.303, allocations: 18.8 kB / 1.328 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/2.303, allocations: 9.5 kB / 1.328 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/2.303, allocations: 7.641 kB / 1.328 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/2.316, allocations: 7.241 MB / 1.335 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/2.316, allocations: 7.438 kB / 1.335 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/2.317, allocations: 178.4 kB / 1.336 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/2.319, allocations: 0.8211 MB / 1.336 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/2.32, allocations: 32.94 kB / 1.336 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/2.334, allocations: 20.25 MB / 1.356 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.334, allocations: 12.97 kB / 1.356 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/2.339, allocations: 3.266 MB / 1.359 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/2.341, allocations: 467.5 kB / 1.36 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004589/2.341, allocations: 30.09 kB / 1.36 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009579/2.342, allocations: 76.77 kB / 1.36 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/2.342, allocations: 127.4 kB / 1.36 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/2.343, allocations: 36.47 kB / 1.36 GB, free: 152 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001246/2.344, allocations: 0.9449 MB / 1.361 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/2.344, allocations: 0 / 1.361 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003679/2.348, allocations: 0.8258 MB / 1.362 GB, free: 151.8 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004981/2.353, allocations: 5.023 MB / 1.367 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0051/2.358, allocations: 3.928 MB / 1.37 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/2.358, allocations: 3.969 kB / 1.37 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003433/2.361, allocations: 2.694 MB / 1.373 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/2.365, allocations: 0.6294 MB / 1.374 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/2.381, allocations: 6.777 MB / 1.38 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003282/2.384, allocations: 3.185 MB / 1.383 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001655/2.386, allocations: 458.8 kB / 1.384 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/2.387, allocations: 1.547 MB / 1.385 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.383e-06/2.387, allocations: 2.531 kB / 1.385 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09572/2.483, allocations: 59.97 MB / 1.444 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/2.483, allocations: 216.1 kB / 1.444 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.753/6.236, allocations: 3.375 kB / 1.444 GB, free: 137.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)