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_R_N.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_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.357/1.357, allocations: 249.5 MB / 257 MB, free: 7.02 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.0009913/0.0009913, allocations: 178.7 kB / 316.3 MB, free: 3.312 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.364/1.364, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0008363/0.0008366, allocations: 94.45 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.79e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7015/0.8861, allocations: 165.4 MB / 1.047 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.8865, allocations: 93.88 kB / 1.047 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4919/1.378, allocations: 200.4 MB / 1.243 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.212e-06/1.378, allocations: 0 / 1.243 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005276/1.379, allocations: 147.9 kB / 1.243 GB, free: 5.402 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02026/1.399, allocations: 4.871 MB / 1.248 GB, free: 472 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/1.399, allocations: 16.03 kB / 1.248 GB, free: 456 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5275/1.927, allocations: 1.128 MB / 1.249 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0115/1.938, allocations: 3.682 MB / 1.252 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006121/1.939, allocations: 188.8 kB / 1.253 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003233/1.942, allocations: 330.5 kB / 1.253 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02003/1.962, allocations: 5.691 MB / 1.258 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/1.986, allocations: 7.856 MB / 1.266 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/1.986, allocations: 20.7 kB / 1.266 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006666/1.987, allocations: 19.3 kB / 1.266 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004142/1.987, allocations: 297.3 kB / 1.266 GB, free: 187 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04955/2.037, allocations: 40.26 MB / 1.306 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/2.042, allocations: 2.974 MB / 1.309 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002666/2.045, allocations: 2.061 MB / 1.311 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/2.045, allocations: 23.12 kB / 1.311 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/2.045, allocations: 61.94 kB / 1.311 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 4.689e-06/2.045, allocations: 2.656 kB / 1.311 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.01273/2.057, allocations: 6.3 MB / 1.317 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/2.058, allocations: 76.03 kB / 1.317 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/2.06, allocations: 1.323 MB / 1.318 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002972/2.06, allocations: 29.55 kB / 1.318 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/2.061, allocations: 2.396 MB / 1.321 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006836/2.062, allocations: 0.6973 MB / 1.321 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/2.062, allocations: 0 / 1.321 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001469/2.062, allocations: 410.3 kB / 1.322 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/2.064, allocations: 1.247 MB / 1.323 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/2.065, allocations: 2.017 MB / 1.325 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/2.067, allocations: 1.605 MB / 1.326 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/2.067, allocations: 7.438 kB / 1.326 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006989/2.074, allocations: 4.594 MB / 1.331 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/2.074, allocations: 18.53 kB / 1.331 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/2.074, allocations: 21.94 kB / 1.331 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/2.077, allocations: 1.396 MB / 1.332 GB, free: 156 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/2.079, allocations: 443.6 kB / 1.333 GB, free: 156 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/2.096, allocations: 16.46 MB / 1.349 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/2.098, allocations: 95.08 kB / 1.349 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/2.099, allocations: 106 kB / 1.349 GB, free: 147.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004527/2.099, allocations: 179.7 kB / 1.349 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005812/2.105, allocations: 3.982 MB / 1.353 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007665/2.106, allocations: 262.6 kB / 1.353 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006087/2.112, allocations: 4.185 MB / 1.357 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/2.112, allocations: 20.41 kB / 1.357 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/2.112, allocations: 18.25 kB / 1.357 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/2.112, allocations: 14.59 kB / 1.357 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/2.127, allocations: 8.537 MB / 1.366 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/2.127, allocations: 3.375 kB / 1.366 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/2.128, allocations: 232.6 kB / 1.366 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/2.131, allocations: 1.372 MB / 1.367 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/2.131, allocations: 7.312 kB / 1.367 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01653/2.148, allocations: 16.41 MB / 1.383 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/2.148, allocations: 21.25 kB / 1.383 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006132/2.154, allocations: 4.613 MB / 1.388 GB, free: 129 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/2.156, allocations: 0.5984 MB / 1.388 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004265/2.156, allocations: 14.67 kB / 1.388 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/2.157, allocations: 76.02 kB / 1.389 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004644/2.158, allocations: 186.8 kB / 1.389 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/2.158, allocations: 61.5 kB / 1.389 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001223/2.159, allocations: 0.9599 MB / 1.39 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/2.159, allocations: 0 / 1.39 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003848/2.163, allocations: 1.054 MB / 1.391 GB, free: 128.1 MB / 0.8542 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006282/2.169, allocations: 6.334 MB / 1.397 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005954/2.175, allocations: 4.335 MB / 1.401 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/2.175, allocations: 0 / 1.401 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00383/2.179, allocations: 2.746 MB / 1.404 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/2.183, allocations: 0.6835 MB / 1.405 GB, free: 121 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/2.2, allocations: 8.697 MB / 1.413 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003661/2.204, allocations: 3.79 MB / 1.417 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00216/2.206, allocations: 0.5212 MB / 1.417 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/2.208, allocations: 1.937 MB / 1.419 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.582e-06/2.208, allocations: 3.094 kB / 1.419 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/2.322, allocations: 76.33 MB / 1.494 GB, free: 62.08 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/2.323, allocations: 176.4 kB / 1.494 GB, free: 61.89 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.761/6.083, allocations: 4.031 kB / 1.494 GB, free: 61.88 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)