Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001177/0.001177, allocations: 189 kB / 371.8 MB, free: 10.27 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.618/1.618, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008677/0.0008676, allocations: 90.92 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004236, allocations: 11.16 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2369, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.008734/0.2457, allocations: 10.36 MB / 0.9896 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006856/0.2526, allocations: 4.944 MB / 0.9944 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.2541, allocations: 31.88 kB / 0.9945 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.2553, allocations: 318.2 kB / 0.9948 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.257, allocations: 0.5373 MB / 0.9953 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.2586, allocations: 0.5574 MB / 0.9958 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.26, allocations: 1.14 MB / 0.997 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003845/0.2639, allocations: 3.615 MB / 1 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008592/0.2648, allocations: 0.5958 MB / 1.001 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/0.2655, allocations: 0.6657 MB / 1.002 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.2656, allocations: 92 kB / 1.002 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.2663, allocations: 315.6 kB / 1.002 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.2668, allocations: 0.6665 MB / 1.003 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.2671, allocations: 341 kB / 1.003 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.2691, allocations: 2.996 MB / 1.006 GB, free: 296 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2691, allocations: 3.938 kB / 1.006 GB, free: 292 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2691, allocations: 0 / 1.006 GB, free: 292 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.219e-05/0.2692, allocations: 4 kB / 1.006 GB, free: 288 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003678/0.2729, allocations: 1.63 MB / 1.008 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.2729, allocations: 8.031 kB / 1.008 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005392/0.2735, allocations: 256.2 kB / 1.008 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.2759, allocations: 497.5 kB / 1.008 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.2785, allocations: 1.139 MB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.2786, allocations: 119.1 kB / 1.01 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.2789, allocations: 148 kB / 1.01 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00444/0.2833, allocations: 2.727 MB / 1.012 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/0.2834, allocations: 11.94 kB / 1.012 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.2836, allocations: 56 kB / 1.012 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003663/0.2839, allocations: 182.9 kB / 1.013 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003802/0.2877, allocations: 2.276 MB / 1.015 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.3005, allocations: 10.53 MB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/0.3016, allocations: 0.588 MB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.3017, allocations: 93.08 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.3018, allocations: 34.56 kB / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.637e-06/0.3018, allocations: 0 / 1.026 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02017/0.3219, allocations: 6.29 MB / 1.032 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.3221, allocations: 85.53 kB / 1.032 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.3235, allocations: 0.8867 MB / 1.033 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.3236, allocations: 37.7 kB / 1.033 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.3242, allocations: 0.7538 MB / 1.034 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.3244, allocations: 181.4 kB / 1.034 GB, free: 2.559 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.3245, allocations: 24 kB / 1.034 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3247, allocations: 386.8 kB / 1.034 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.3257, allocations: 0.6382 MB / 1.035 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.3269, allocations: 1.011 MB / 1.036 GB, free: 336 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.3282, allocations: 0.8219 MB / 1.037 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.3282, allocations: 4 kB / 1.037 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008842/0.3371, allocations: 3.209 MB / 1.04 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001861/0.339, allocations: 4.537 MB / 1.044 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.339, allocations: 12 kB / 1.044 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007895/0.3469, allocations: 1.864 MB / 1.046 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.3479, allocations: 223.6 kB / 1.046 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/0.3634, allocations: 10.5 MB / 1.057 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.365, allocations: 179.6 kB / 1.057 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.3652, allocations: 39.98 kB / 1.057 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3653, allocations: 7.953 kB / 1.057 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007418/0.3727, allocations: 2.634 MB / 1.059 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.416e-05/0.3728, allocations: 12 kB / 1.059 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005289/0.3781, allocations: 1.199 MB / 1.06 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.3792, allocations: 259.5 kB / 1.061 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5248/0.9041, allocations: 5.695 MB / 1.066 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.9057, allocations: 147.5 kB / 1.066 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.9058, allocations: 44.59 kB / 1.066 GB, free: 82.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001731/0.9075, allocations: 0.8423 MB / 1.067 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.9078, allocations: 77.62 kB / 1.067 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008643/0.9164, allocations: 2.698 MB / 1.07 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.9165, allocations: 8.906 kB / 1.07 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.9165, allocations: 2.062 kB / 1.07 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.9165, allocations: 3.75 kB / 1.07 GB, free: 81.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.9293, allocations: 4.53 MB / 1.074 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.9293, allocations: 2.125 kB / 1.074 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.9298, allocations: 101.5 kB / 1.075 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007641/0.9375, allocations: 1.705 MB / 1.076 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.9377, allocations: 12.66 kB / 1.076 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.951, allocations: 10.06 MB / 1.086 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9511, allocations: 6.156 kB / 1.086 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008243/0.9593, allocations: 2.75 MB / 1.089 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.9602, allocations: 283.4 kB / 1.089 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.9605, allocations: 8.938 kB / 1.089 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.9616, allocations: 134.5 kB / 1.089 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.9619, allocations: 54.12 kB / 1.089 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.962, allocations: 16.38 kB / 1.089 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001338/0.9633, allocations: 0.6351 MB / 1.09 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.31e-07/0.9633, allocations: 0 / 1.09 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003314/0.9667, allocations: 0.5902 MB / 1.09 GB, free: 72.15 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008715/0.9754, allocations: 3.884 MB / 1.094 GB, free: 70.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006829/0.9822, allocations: 3.257 MB / 1.097 GB, free: 68.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.436e-05/0.9824, allocations: 5.984 kB / 1.097 GB, free: 68.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/0.9849, allocations: 1.281 MB / 1.099 GB, free: 68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.9866, allocations: 211.6 kB / 1.099 GB, free: 67.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/1.012, allocations: 17.47 MB / 1.116 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/1.014, allocations: 1.65 MB / 1.118 GB, free: 53.47 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001825/1.016, allocations: 496.9 kB / 1.118 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008018/1.017, allocations: 489 kB / 1.118 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.943e-06/1.017, allocations: 1.406 kB / 1.118 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/1.072, allocations: 34.42 MB / 1.152 GB, free: 25.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/1.073, allocations: 250.5 kB / 1.152 GB, free: 25.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/3.867, allocations: 3.516 kB / 1.152 GB, free: 25.51 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)