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.506/1.506, allocations: 249.3 MB / 261.8 MB, free: 5.914 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.00124/0.001239, allocations: 178.6 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.546/1.546, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008465/0.0008466, allocations: 100.5 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.046e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2213, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.779/1, allocations: 165.2 MB / 1.053 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000408/1.001, allocations: 94.5 kB / 1.053 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.499/1.5, allocations: 201.3 MB / 1.25 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/1.5, allocations: 0 / 1.25 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004671/1.5, allocations: 144 kB / 1.25 GB, free: 13.98 MB / 0.8698 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.01878/1.519, allocations: 4.881 MB / 1.255 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.961e-05/1.519, allocations: 12.03 kB / 1.255 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005165/1.525, allocations: 0.8253 MB / 1.256 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/1.534, allocations: 1.133 MB / 1.257 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/1.545, allocations: 3.689 MB / 1.26 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005517/1.546, allocations: 431.6 kB / 1.261 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/1.549, allocations: 0.5585 MB / 1.261 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6409/2.189, allocations: 8.705 MB / 1.27 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002914/2.19, allocations: 22.77 kB / 1.27 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001775/2.192, allocations: 256.4 kB / 1.27 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005055/2.192, allocations: 300.5 kB / 1.27 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/2.211, allocations: 6.322 MB / 1.276 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06147/2.272, allocations: 41.46 MB / 1.317 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005457/2.278, allocations: 3.072 MB / 1.32 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/2.281, allocations: 2.131 MB / 1.322 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/2.282, allocations: 26.06 kB / 1.322 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/2.282, allocations: 60.28 kB / 1.322 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=209): time 5.35e-06/2.282, allocations: 0 / 1.322 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=212): time 0.01304/2.295, allocations: 6.584 MB / 1.329 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/2.295, allocations: 81.41 kB / 1.329 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/2.297, allocations: 1.641 MB / 1.33 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000292/2.298, allocations: 66.27 kB / 1.33 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001488/2.299, allocations: 2.373 MB / 1.333 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007232/2.3, allocations: 0.7283 MB / 1.333 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/2.3, allocations: 58 kB / 1.333 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001625/2.3, allocations: 408.2 kB / 1.334 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/2.302, allocations: 1.301 MB / 1.335 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/2.304, allocations: 2.079 MB / 1.337 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/2.306, allocations: 1.669 MB / 1.339 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/2.306, allocations: 6.406 kB / 1.339 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.007073/2.313, allocations: 4.914 MB / 1.344 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/2.313, allocations: 21.19 kB / 1.344 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/2.313, allocations: 22.59 kB / 1.344 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/2.316, allocations: 1.528 MB / 1.345 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/2.318, allocations: 445.7 kB / 1.345 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/2.336, allocations: 16.97 MB / 1.362 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/2.339, allocations: 142.4 kB / 1.362 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/2.339, allocations: 114.9 kB / 1.362 GB, free: 156.3 MB / 0.8698 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,72.2%) 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.0004861/2.339, allocations: 258.2 kB / 1.363 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/2.34, allocations: 289.5 kB / 1.363 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00667/2.346, allocations: 4.405 MB / 1.367 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/2.347, allocations: 22.28 kB / 1.367 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/2.347, allocations: 17.91 kB / 1.367 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/2.347, allocations: 11.16 kB / 1.367 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/2.362, allocations: 9.599 MB / 1.377 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/2.362, allocations: 4.344 kB / 1.377 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/2.363, allocations: 240.4 kB / 1.377 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002778/2.366, allocations: 1.397 MB / 1.378 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/2.366, allocations: 37.03 kB / 1.378 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/2.384, allocations: 16.98 MB / 1.395 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/2.384, allocations: 6.094 kB / 1.395 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007406/2.391, allocations: 4.834 MB / 1.399 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/2.393, allocations: 0.6289 MB / 1.4 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004406/2.393, allocations: 38.03 kB / 1.4 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/2.395, allocations: 129 kB / 1.4 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005242/2.395, allocations: 181.9 kB / 1.4 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/2.395, allocations: 54.44 kB / 1.4 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00161/2.397, allocations: 1.245 MB / 1.402 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.8e-07/2.397, allocations: 3.188 kB / 1.402 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004147/2.401, allocations: 1.179 MB / 1.403 GB, free: 136.7 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 (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.006889/2.408, allocations: 6.555 MB / 1.409 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006294/2.414, allocations: 4.528 MB / 1.414 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/2.414, allocations: 3.688 kB / 1.414 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003885/2.418, allocations: 2.864 MB / 1.416 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/2.422, allocations: 0.7633 MB / 1.417 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/2.439, allocations: 8.881 MB / 1.426 GB, free: 126 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003895/2.443, allocations: 3.792 MB / 1.43 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002227/2.445, allocations: 0.5453 MB / 1.43 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/2.447, allocations: 1.945 MB / 1.432 GB, free: 123 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/2.447, allocations: 0 / 1.432 GB, free: 123 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/2.57, allocations: 81.74 MB / 1.512 GB, free: 71.28 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/2.571, allocations: 206.6 kB / 1.512 GB, free: 71.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.668/7.238, allocations: 4 kB / 1.512 GB, free: 71.05 MB / 0.8698 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)