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.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.51/1.51, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 185.4 kB / 326.5 MB, free: 2.238 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.843/1.843, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.001028/0.001027, allocations: 103.8 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003682, allocations: 9.719 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 106.3 MB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.879/1.127, allocations: 164.6 MB / 1.061 GB, free: 63.79 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/1.127, allocations: 99.58 kB / 1.061 GB, free: 63.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.445/1.573, allocations: 182.4 MB / 1.239 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.456e-06/1.573, allocations: 3.938 kB / 1.239 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005684/1.573, allocations: 124 kB / 1.239 GB, free: 4.398 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01928/1.592, allocations: 4.496 MB / 1.244 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/1.593, allocations: 8.031 kB / 1.244 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004358/1.597, allocations: 0.7175 MB / 1.244 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008024/1.605, allocations: 1.02 MB / 1.245 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/1.619, allocations: 3.217 MB / 1.248 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004964/1.619, allocations: 361.7 kB / 1.249 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003069/1.622, allocations: 479.9 kB / 1.249 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03058/1.653, allocations: 7.499 MB / 1.257 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003869/1.653, allocations: 27.75 kB / 1.257 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002902/1.656, allocations: 227.9 kB / 1.257 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004343/1.657, allocations: 265.2 kB / 1.257 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/1.673, allocations: 5.395 MB / 1.262 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05773/1.731, allocations: 36.26 MB / 1.298 GB, free: 4.582 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/1.735, allocations: 2.136 MB / 1.3 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/1.735, allocations: 13.31 kB / 1.3 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.735, allocations: 63.77 kB / 1.3 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=157): time 4.288e-06/1.735, allocations: 0 / 1.3 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of matching and sorting (n=160): time 0.01557/1.751, allocations: 7.532 MB / 1.307 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.751, allocations: 68.72 kB / 1.307 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/1.754, allocations: 1.56 MB / 1.309 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002852/1.754, allocations: 53.7 kB / 1.309 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.755, allocations: 2.096 MB / 1.311 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000646/1.756, allocations: 0.5507 MB / 1.311 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.756, allocations: 44 kB / 1.312 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.756, allocations: 390.1 kB / 1.312 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/1.758, allocations: 1.019 MB / 1.313 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/1.76, allocations: 1.728 MB / 1.315 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/1.762, allocations: 1.302 MB / 1.316 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.762, allocations: 8 kB / 1.316 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007264/1.769, allocations: 3.803 MB / 1.32 GB, free: 13.46 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/1.77, allocations: 16 kB / 1.32 GB, free: 13.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/1.77, allocations: 24 kB / 1.32 GB, free: 13.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/1.772, allocations: 0.9124 MB / 1.32 GB, free: 12.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.774, allocations: 423.2 kB / 1.321 GB, free: 12.06 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/1.795, allocations: 21.42 MB / 1.342 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/1.797, allocations: 119.9 kB / 1.342 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000341/1.798, allocations: 92 kB / 1.342 GB, free: 4.836 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004186/1.802, allocations: 1.649 MB / 1.344 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007402/1.803, allocations: 253.1 kB / 1.344 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/1.808, allocations: 3.256 MB / 1.347 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/1.808, allocations: 16 kB / 1.347 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/1.808, allocations: 15.98 kB / 1.347 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.809, allocations: 7.969 kB / 1.347 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/1.823, allocations: 7.506 MB / 1.354 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.823, allocations: 8 kB / 1.354 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/1.824, allocations: 215.7 kB / 1.355 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/1.827, allocations: 0.8725 MB / 1.355 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/1.827, allocations: 32 kB / 1.355 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/1.848, allocations: 21.36 MB / 1.376 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.848, allocations: 11.92 kB / 1.376 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006726/1.854, allocations: 3.693 MB / 1.38 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/1.856, allocations: 0.533 MB / 1.38 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004621/1.857, allocations: 28.28 kB / 1.381 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.858, allocations: 99.88 kB / 1.381 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/1.859, allocations: 141 kB / 1.381 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.859, allocations: 44 kB / 1.381 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001841/1.86, allocations: 1.186 MB / 1.382 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/1.861, allocations: 0 / 1.382 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004048/1.865, allocations: 0.9375 MB / 1.383 GB, free: 8.844 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006797/1.871, allocations: 5.426 MB / 1.388 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.574/2.445, allocations: 4.331 MB / 1.392 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/2.445, allocations: 3.219 kB / 1.392 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004343/2.45, allocations: 2.998 MB / 1.395 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/2.454, allocations: 0.7127 MB / 1.396 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05219/2.506, allocations: 37.36 MB / 1.433 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004129/2.51, allocations: 3.29 MB / 1.436 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002442/2.512, allocations: 0.5184 MB / 1.436 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/2.514, allocations: 1.682 MB / 1.438 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/2.514, allocations: 0 / 1.438 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/2.634, allocations: 67.87 MB / 1.504 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/2.635, allocations: 226.3 kB / 1.504 GB, free: 195 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.866/6.501, allocations: 4 kB / 1.504 GB, free: 195 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)