Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.534/1.534, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001104/0.001104, allocations: 184.9 kB / 321.3 MB, free: 14.63 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.743/1.743, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.001009/0.001009, allocations: 90.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.756e-05/4.77e-05, allocations: 7.984 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2284, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7804/1.009, allocations: 203.2 MB / 1.09 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.009, allocations: 99.22 kB / 1.09 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.2222/1.231, allocations: 85.31 MB / 1.174 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.868e-06/1.231, allocations: 0 / 1.174 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000135/1.232, allocations: 55.86 kB / 1.174 GB, free: 13.77 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003605/1.235, allocations: 1.618 MB / 1.175 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.235, allocations: 8.031 kB / 1.175 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002984/1.236, allocations: 198.1 kB / 1.176 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/1.248, allocations: 1.952 MB / 1.178 GB, free: 9.938 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007778/1.256, allocations: 2.075 MB / 1.18 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/1.256, allocations: 82.31 kB / 1.18 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/1.256, allocations: 123.9 kB / 1.18 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003742/1.26, allocations: 2.225 MB / 1.182 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/1.26, allocations: 7.938 kB / 1.182 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/1.26, allocations: 55.98 kB / 1.182 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/1.26, allocations: 90.23 kB / 1.182 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/1.263, allocations: 1.859 MB / 1.184 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/1.28, allocations: 10.72 MB / 1.194 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/1.283, allocations: 1.5 MB / 1.196 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/1.284, allocations: 0.8952 MB / 1.197 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.262e-05/1.284, allocations: 20.73 kB / 1.197 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.284, allocations: 39.34 kB / 1.197 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/1.284, allocations: 0 / 1.197 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.05107/1.335, allocations: 13.7 MB / 1.21 GB, free: 7.609 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.336, allocations: 222.9 kB / 1.21 GB, free: 7.344 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/1.338, allocations: 0.9994 MB / 1.211 GB, free: 6.336 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004611/1.339, allocations: 53.7 kB / 1.211 GB, free: 6.277 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/1.339, allocations: 0.74 MB / 1.212 GB, free: 5.531 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008941/1.34, allocations: 0.5082 MB / 1.213 GB, free: 5.016 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/1.341, allocations: 28 kB / 1.213 GB, free: 4.988 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.341, allocations: 365.9 kB / 1.213 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/1.343, allocations: 1.129 MB / 1.214 GB, free: 3.496 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/1.345, allocations: 1.4 MB / 1.215 GB, free: 1.996 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/1.347, allocations: 1.254 MB / 1.217 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/1.347, allocations: 4 kB / 1.217 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01137/1.358, allocations: 4.575 MB / 1.221 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/1.358, allocations: 8 kB / 1.221 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.358, allocations: 4 kB / 1.221 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009125/1.367, allocations: 2.135 MB / 1.223 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/1.37, allocations: 411.3 kB / 1.224 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03014/1.4, allocations: 22.5 MB / 1.246 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1.403, allocations: 323.5 kB / 1.246 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/1.404, allocations: 63.97 kB / 1.246 GB, free: 1.602 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007007/1.404, allocations: 180.7 kB / 1.246 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007677/1.405, allocations: 181.9 kB / 1.246 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.417, allocations: 4.653 MB / 1.251 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.417, allocations: 16 kB / 1.251 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-05/1.417, allocations: 19.95 kB / 1.251 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/1.417, allocations: 7.969 kB / 1.251 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/1.434, allocations: 6.868 MB / 1.258 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/1.434, allocations: 4 kB / 1.258 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/1.436, allocations: 363.7 kB / 1.258 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008518/1.445, allocations: 1.982 MB / 1.26 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004202/1.445, allocations: 43.97 kB / 1.26 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5873/2.033, allocations: 21.66 MB / 1.281 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/2.033, allocations: 2.875 kB / 1.281 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/2.045, allocations: 4.424 MB / 1.285 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/2.047, allocations: 0.5065 MB / 1.286 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/2.047, allocations: 30.22 kB / 1.286 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/2.05, allocations: 334.8 kB / 1.286 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/2.051, allocations: 149.5 kB / 1.286 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/2.052, allocations: 54.58 kB / 1.286 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001616/2.053, allocations: 0.7748 MB / 1.287 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/2.053, allocations: 1.375 kB / 1.287 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003615/2.057, allocations: 0.7204 MB / 1.288 GB, free: 250.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01298/2.07, allocations: 5.803 MB / 1.294 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01013/2.08, allocations: 4.349 MB / 1.298 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/2.08, allocations: 2.5 kB / 1.298 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007204/2.087, allocations: 2.942 MB / 1.301 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/2.092, allocations: 0.5004 MB / 1.301 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/2.104, allocations: 3.576 MB / 1.305 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/2.106, allocations: 1.609 MB / 1.306 GB, free: 245 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002578/2.109, allocations: 398.9 kB / 1.307 GB, free: 245 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/2.11, allocations: 0.6732 MB / 1.307 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/2.11, allocations: 1.406 kB / 1.307 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09777/2.208, allocations: 59.03 MB / 1.365 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/2.208, allocations: 198.4 kB / 1.365 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/6.14, allocations: 0 / 1.365 GB, free: 234.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)