Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.734/1.734, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.001129/0.001129, allocations: 179.4 kB / 372 MB, free: 10.25 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.604/1.604, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008402/0.0008401, allocations: 100.8 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004456, allocations: 10.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008661/0.2426, allocations: 9.931 MB / 0.9893 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007045/0.2497, allocations: 5.489 MB / 0.9947 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.2512, allocations: 43.69 kB / 0.9948 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.2522, allocations: 245.9 kB / 0.995 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.256, allocations: 0.8863 MB / 0.9959 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.2585, allocations: 0.5904 MB / 0.9964 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003466/0.262, allocations: 2.356 MB / 0.9987 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003833/0.2658, allocations: 2.158 MB / 1.001 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.2675, allocations: 0.6884 MB / 1.002 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.2696, allocations: 0.8326 MB / 1.002 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000493/0.2701, allocations: 63.98 kB / 1.002 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.2725, allocations: 0.5968 MB / 1.003 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009352/0.2734, allocations: 466.6 kB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008261/0.2743, allocations: 296.9 kB / 1.004 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.277, allocations: 1.796 MB / 1.005 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.277, allocations: 3.938 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2771, allocations: 0 / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.03e-05/0.2771, allocations: 0 / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003646/0.2808, allocations: 1.614 MB / 1.007 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2808, allocations: 12.03 kB / 1.007 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003539/0.2812, allocations: 207.2 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/0.288, allocations: 0.6806 MB / 1.008 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.2906, allocations: 0.8789 MB / 1.009 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2907, allocations: 102.5 kB / 1.009 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2911, allocations: 120 kB / 1.009 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/0.296, allocations: 2.198 MB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.375e-05/0.2961, allocations: 11.84 kB / 1.011 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.2964, allocations: 67.97 kB / 1.011 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003429/0.2967, allocations: 162.3 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/0.3005, allocations: 1.859 MB / 1.013 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01936/0.3199, allocations: 12.48 MB / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006516/0.3264, allocations: 1.96 MB / 1.027 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3278, allocations: 0.6049 MB / 1.028 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.3281, allocations: 102.1 kB / 1.028 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.3282, allocations: 51.55 kB / 1.028 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 5.47e-06/0.3282, allocations: 0 / 1.028 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.009275/0.3375, allocations: 3.702 MB / 1.032 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.3376, allocations: 68.34 kB / 1.032 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.3395, allocations: 0.9048 MB / 1.033 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/0.3396, allocations: 45.7 kB / 1.033 GB, free: 3.648 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007384/0.3404, allocations: 0.7276 MB / 1.033 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/0.3409, allocations: 386.4 kB / 1.034 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.341, allocations: 36 kB / 1.034 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002551/0.3413, allocations: 373.9 kB / 1.034 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.3427, allocations: 0.6051 MB / 1.035 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.3446, allocations: 1.098 MB / 1.036 GB, free: 204 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.3464, allocations: 0.7603 MB / 1.036 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.3464, allocations: 4 kB / 1.036 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005123/0.3515, allocations: 2.084 MB / 1.039 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.3516, allocations: 15.98 kB / 1.039 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/0.3516, allocations: 19.95 kB / 1.039 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.3528, allocations: 258.9 kB / 1.039 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/0.3547, allocations: 371.4 kB / 1.039 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.367, allocations: 10.75 MB / 1.05 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.3692, allocations: 123.8 kB / 1.05 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004383/0.3697, allocations: 76.14 kB / 1.05 GB, free: 0.6289 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00166/0.3714, allocations: 404.3 kB / 1.05 GB, free: 232 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.372, allocations: 134.4 kB / 1.05 GB, free: 96 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/0.3775, allocations: 1.665 MB / 1.052 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.3775, allocations: 16 kB / 1.052 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.601e-05/0.3776, allocations: 8 kB / 1.052 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/0.3776, allocations: 7.969 kB / 1.052 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008587/0.3862, allocations: 3.291 MB / 1.055 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.476e-05/0.3863, allocations: 4 kB / 1.055 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.3876, allocations: 224.3 kB / 1.055 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/0.3883, allocations: 242.6 kB / 1.056 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/0.3885, allocations: 28 kB / 1.056 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5209/0.9094, allocations: 10.71 MB / 1.066 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.9095, allocations: 9.781 kB / 1.066 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.9125, allocations: 1.79 MB / 1.068 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/0.9131, allocations: 325.5 kB / 1.068 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.9132, allocations: 24.89 kB / 1.068 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.914, allocations: 97.88 kB / 1.068 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.9142, allocations: 94.83 kB / 1.068 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.9143, allocations: 39.2 kB / 1.068 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008481/0.9151, allocations: 0.606 MB / 1.069 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9151, allocations: 0 / 1.069 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00148/0.9166, allocations: 396 kB / 1.069 GB, free: 80.79 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003029/0.9196, allocations: 2.378 MB / 1.072 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004488/0.9242, allocations: 2.484 MB / 1.074 GB, free: 78.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/0.9242, allocations: 0.625 kB / 1.074 GB, free: 78.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003466/0.9277, allocations: 1.631 MB / 1.076 GB, free: 77.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.9305, allocations: 338.7 kB / 1.076 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.9485, allocations: 8.507 MB / 1.084 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.9502, allocations: 1.323 MB / 1.086 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001568/0.9517, allocations: 365.9 kB / 1.086 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/0.9524, allocations: 0.5193 MB / 1.087 GB, free: 71.48 MB / 0.6823 GB Notification: Performance of SimCode: time 1.242e-06/0.9524, allocations: 0 / 1.087 GB, free: 71.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/1.017, allocations: 26.78 MB / 1.113 GB, free: 62.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/1.017, allocations: 235.5 kB / 1.113 GB, free: 62.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/3.939, allocations: 0 / 1.113 GB, free: 62.34 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)