Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.ACLine_R_N,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.908/1.908, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001203/0.001203, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.717/1.717, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.00125/0.00125, allocations: 95.25 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.134e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8112, allocations: 116.3 MB / 0.9734 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/1.039, allocations: 171.8 MB / 1.141 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.04, allocations: 94.47 kB / 1.141 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.9997/2.039, allocations: 200.4 MB / 1.337 GB, free: 182 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.296e-06/2.039, allocations: 0 / 1.337 GB, free: 182 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004636/2.04, allocations: 146.6 kB / 1.337 GB, free: 182 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.02295/2.063, allocations: 4.872 MB / 1.342 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/2.063, allocations: 7.812 kB / 1.342 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/2.075, allocations: 1.141 MB / 1.343 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/2.09, allocations: 3.688 MB / 1.347 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/2.09, allocations: 188.2 kB / 1.347 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002714/2.093, allocations: 331.6 kB / 1.347 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0186/2.112, allocations: 5.691 MB / 1.353 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02788/2.139, allocations: 7.858 MB / 1.36 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/2.14, allocations: 30.91 kB / 1.36 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001415/2.141, allocations: 11 kB / 1.36 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/2.142, allocations: 303.2 kB / 1.361 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0516/2.193, allocations: 40.25 MB / 1.4 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005604/2.199, allocations: 2.97 MB / 1.403 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003467/2.202, allocations: 2.064 MB / 1.405 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/2.203, allocations: 22 kB / 1.405 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/2.203, allocations: 64.52 kB / 1.405 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 6.362e-06/2.203, allocations: 0 / 1.405 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.0132/2.216, allocations: 6.289 MB / 1.411 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/2.216, allocations: 77.41 kB / 1.411 GB, free: 127 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/2.218, allocations: 1.321 MB / 1.412 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/2.218, allocations: 29.7 kB / 1.412 GB, free: 125.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/2.22, allocations: 2.394 MB / 1.415 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005941/2.22, allocations: 0.6967 MB / 1.415 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/2.22, allocations: 0 / 1.415 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001512/2.221, allocations: 411.2 kB / 1.416 GB, free: 122 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/2.223, allocations: 1.247 MB / 1.417 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/2.225, allocations: 2.016 MB / 1.419 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/2.228, allocations: 1.61 MB / 1.421 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.002e-05/2.228, allocations: 4 kB / 1.421 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.009166/2.237, allocations: 4.598 MB / 1.425 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/2.237, allocations: 16 kB / 1.425 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/2.237, allocations: 31.89 kB / 1.425 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/2.241, allocations: 1.401 MB / 1.427 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/2.243, allocations: 443.2 kB / 1.427 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/2.268, allocations: 16.45 MB / 1.443 GB, free: 93.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/2.271, allocations: 95.86 kB / 1.443 GB, free: 93.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003974/2.272, allocations: 112.1 kB / 1.443 GB, free: 93.21 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.0006021/2.272, allocations: 174.1 kB / 1.443 GB, free: 93.04 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008714/2.281, allocations: 3.985 MB / 1.447 GB, free: 89.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007173/2.282, allocations: 264.9 kB / 1.448 GB, free: 88.78 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009323/2.291, allocations: 4.179 MB / 1.452 GB, free: 84.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/2.291, allocations: 28 kB / 1.452 GB, free: 84.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.611e-05/2.291, allocations: 16 kB / 1.452 GB, free: 84.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/2.291, allocations: 7.969 kB / 1.452 GB, free: 84.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/2.312, allocations: 8.542 MB / 1.46 GB, free: 75.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/2.313, allocations: 4 kB / 1.46 GB, free: 75.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/2.314, allocations: 243.7 kB / 1.46 GB, free: 75.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00473/2.319, allocations: 1.369 MB / 1.462 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/2.319, allocations: 4 kB / 1.462 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02722/2.346, allocations: 16.4 MB / 1.478 GB, free: 57.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/2.346, allocations: 8 kB / 1.478 GB, free: 57.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/2.358, allocations: 4.617 MB / 1.482 GB, free: 52.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/2.361, allocations: 0.6111 MB / 1.483 GB, free: 51.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/2.362, allocations: 4 kB / 1.483 GB, free: 51.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/2.365, allocations: 79.86 kB / 1.483 GB, free: 51.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008073/2.366, allocations: 177.6 kB / 1.483 GB, free: 51.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/2.366, allocations: 56 kB / 1.483 GB, free: 51.63 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002888/2.369, allocations: 0.9724 MB / 1.484 GB, free: 50.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-07/2.369, allocations: 3.938 kB / 1.484 GB, free: 50.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006446/2.376, allocations: 1.051 MB / 1.485 GB, free: 49.59 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.01012/2.386, allocations: 6.322 MB / 1.491 GB, free: 43.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009524/2.395, allocations: 4.341 MB / 1.495 GB, free: 38.72 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/2.395, allocations: 4 kB / 1.495 GB, free: 38.72 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006306/2.402, allocations: 2.744 MB / 1.498 GB, free: 35.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006164/2.408, allocations: 0.6855 MB / 1.499 GB, free: 35.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/2.439, allocations: 8.7 MB / 1.507 GB, free: 26.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007726/2.447, allocations: 3.783 MB / 1.511 GB, free: 22.63 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003908/2.451, allocations: 0.5176 MB / 1.511 GB, free: 22.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003825/2.454, allocations: 1.948 MB / 1.513 GB, free: 20.19 MB / 0.8542 GB Notification: Performance of SimCode: time 2.234e-06/2.454, allocations: 0 / 1.513 GB, free: 20.19 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.198/2.652, allocations: 76.33 MB / 1.588 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/2.653, allocations: 160.4 kB / 1.588 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.248/6.901, allocations: 3.938 kB / 1.588 GB, free: 8.238 MB / 0.9167 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)