Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 289.9 MB / 297.4 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 184.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.3 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008156/0.0008155, allocations: 94.42 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.773e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7783, allocations: 116.3 MB / 0.9734 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/1.026, allocations: 193 MB / 1.162 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.026, allocations: 103.9 kB / 1.162 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1852/1.212, allocations: 72.07 MB / 1.232 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.986e-06/1.212, allocations: 4 kB / 1.232 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000209/1.212, allocations: 36 kB / 1.232 GB, free: 12.36 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005468/1.217, allocations: 1.679 MB / 1.234 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.217, allocations: 8.031 kB / 1.234 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/1.221, allocations: 0.6651 MB / 1.235 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002881/1.224, allocations: 1.242 MB / 1.236 GB, free: 8.668 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/1.224, allocations: 52 kB / 1.236 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/1.224, allocations: 95.94 kB / 1.236 GB, free: 8.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003559/1.228, allocations: 1.947 MB / 1.238 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004003/1.232, allocations: 2.365 MB / 1.24 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.408e-05/1.232, allocations: 7.938 kB / 1.24 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.232, allocations: 0 / 1.24 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/1.232, allocations: 91.22 kB / 1.24 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/1.246, allocations: 10.53 MB / 1.251 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/1.247, allocations: 0.722 MB / 1.251 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000713/1.248, allocations: 0.5031 MB / 1.252 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/1.248, allocations: 97.45 kB / 1.252 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.248, allocations: 38.94 kB / 1.252 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 3.456e-06/1.248, allocations: 0 / 1.252 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72): time 0.01158/1.26, allocations: 4.358 MB / 1.256 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/1.26, allocations: 85.89 kB / 1.256 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/1.262, allocations: 0.7571 MB / 1.257 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.262, allocations: 25.7 kB / 1.257 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/1.263, allocations: 0.7774 MB / 1.258 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/1.263, allocations: 244.4 kB / 1.258 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/1.263, allocations: 0 / 1.258 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002856/1.263, allocations: 398.8 kB / 1.258 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.653/1.916, allocations: 0.7373 MB / 1.259 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/1.918, allocations: 1.094 MB / 1.26 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/1.921, allocations: 1.076 MB / 1.261 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.921, allocations: 3.25 kB / 1.261 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00947/1.93, allocations: 3.248 MB / 1.264 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.931, allocations: 4.266 MB / 1.269 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-05/1.931, allocations: 15.16 kB / 1.269 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005963/1.937, allocations: 1.412 MB / 1.27 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.939, allocations: 216.4 kB / 1.27 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.95, allocations: 7.009 MB / 1.277 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.952, allocations: 175.2 kB / 1.277 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/1.952, allocations: 48.83 kB / 1.277 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.952, allocations: 4.656 kB / 1.277 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003564/1.956, allocations: 1.672 MB / 1.279 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/1.956, allocations: 10.75 kB / 1.279 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/1.956, allocations: 21.84 kB / 1.279 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.957, allocations: 342.7 kB / 1.279 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.134e-05/1.957, allocations: 26.27 kB / 1.279 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.959, allocations: 121.6 kB / 1.279 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.959, allocations: 45.19 kB / 1.279 GB, free: 204.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003822/1.959, allocations: 143.9 kB / 1.28 GB, free: 204.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007923/1.967, allocations: 2.852 MB / 1.282 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/1.967, allocations: 83.97 kB / 1.282 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0083/1.976, allocations: 3.005 MB / 1.285 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/1.976, allocations: 6.844 kB / 1.285 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.976, allocations: 3.969 kB / 1.285 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/1.976, allocations: 6.375 kB / 1.285 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/1.989, allocations: 5.292 MB / 1.291 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.989, allocations: 2.094 kB / 1.291 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/1.99, allocations: 112.1 kB / 1.291 GB, free: 203.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006649/1.997, allocations: 1.611 MB / 1.292 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/1.997, allocations: 3.812 kB / 1.292 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/2.013, allocations: 9.169 MB / 1.301 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.527e-05/2.013, allocations: 2.75 kB / 1.301 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007791/2.021, allocations: 2.982 MB / 1.304 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009306/2.022, allocations: 329.7 kB / 1.304 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/2.022, allocations: 3.188 kB / 1.304 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/2.024, allocations: 179.2 kB / 1.305 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004284/2.024, allocations: 63.03 kB / 1.305 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/2.024, allocations: 23.66 kB / 1.305 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001536/2.026, allocations: 0.5823 MB / 1.305 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.5e-07/2.026, allocations: 3.75 kB / 1.305 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004702/2.031, allocations: 0.6356 MB / 1.306 GB, free: 197.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00878/2.04, allocations: 4.165 MB / 1.31 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006524/2.046, allocations: 2.912 MB / 1.313 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/2.046, allocations: 0 / 1.313 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003019/2.049, allocations: 1.333 MB / 1.314 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/2.051, allocations: 207.4 kB / 1.314 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/2.061, allocations: 3.308 MB / 1.317 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/2.063, allocations: 1.748 MB / 1.319 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0022/2.066, allocations: 0.6375 MB / 1.32 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/2.066, allocations: 0.4937 MB / 1.32 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.064e-06/2.066, allocations: 0 / 1.32 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07572/2.142, allocations: 36.26 MB / 1.356 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/2.143, allocations: 165.2 kB / 1.356 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/4.843, allocations: 0 / 1.356 GB, free: 186.1 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)