Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 192.4 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.86 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2337, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0127/0.2464, allocations: 11.02 MB / 0.7934 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008869/0.2554, allocations: 5.895 MB / 0.7992 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.2566, allocations: 47.69 kB / 0.7992 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.2606, allocations: 1.615 MB / 0.8008 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.2637, allocations: 1.07 MB / 0.8019 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.2658, allocations: 0.7435 MB / 0.8026 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00384/0.2697, allocations: 2.852 MB / 0.8054 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.2718, allocations: 1.308 MB / 0.8067 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.2731, allocations: 0.7585 MB / 0.8074 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.2742, allocations: 0.9259 MB / 0.8083 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.2743, allocations: 84 kB / 0.8084 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.2767, allocations: 1.466 MB / 0.8098 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004504/0.2771, allocations: 0.4985 MB / 0.8103 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.2779, allocations: 0.7497 MB / 0.811 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.2804, allocations: 2.457 MB / 0.8134 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2804, allocations: 0 / 0.8134 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2804, allocations: 0 / 0.8134 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.2804, allocations: 0 / 0.8134 GB, free: 14.4 MB / 0.6387 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.002772/0.2832, allocations: 1.864 MB / 0.8152 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2833, allocations: 12.02 kB / 0.8153 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/0.2875, allocations: 0.666 MB / 0.8159 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.2888, allocations: 0.9223 MB / 0.8168 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.2889, allocations: 94.84 kB / 0.8169 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.2891, allocations: 128.3 kB / 0.817 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.2919, allocations: 2.203 MB / 0.8192 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.292, allocations: 19.88 kB / 0.8192 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.2921, allocations: 55.98 kB / 0.8192 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.2923, allocations: 166.3 kB / 0.8194 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.2949, allocations: 1.867 MB / 0.8212 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.3065, allocations: 12.48 MB / 0.8334 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/0.3108, allocations: 1.968 MB / 0.8353 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000771/0.3116, allocations: 0.6089 MB / 0.8359 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.3118, allocations: 102.1 kB / 0.836 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3118, allocations: 47.56 kB / 0.8361 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.946e-06/0.3118, allocations: 0 / 0.8361 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.005855/0.3177, allocations: 3.706 MB / 0.8397 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3177, allocations: 64.41 kB / 0.8397 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.3187, allocations: 0.9164 MB / 0.8406 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.3188, allocations: 45.7 kB / 0.8407 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.3192, allocations: 0.7276 MB / 0.8414 GB, free: 212 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.3194, allocations: 382.7 kB / 0.8418 GB, free: 15.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.3198, allocations: 287.2 kB / 0.842 GB, free: 15.54 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.3199, allocations: 309.1 kB / 0.8423 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008167/0.3207, allocations: 0.609 MB / 0.8429 GB, free: 14.62 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.3219, allocations: 1.106 MB / 0.844 GB, free: 13.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.3241, allocations: 1.835 MB / 0.8458 GB, free: 11.24 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.3241, allocations: 4 kB / 0.8458 GB, free: 11.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003381/0.3275, allocations: 2.1 MB / 0.8479 GB, free: 9.109 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.3275, allocations: 12.19 kB / 0.8479 GB, free: 9.098 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.3276, allocations: 24 kB / 0.8479 GB, free: 9.074 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008224/0.3284, allocations: 258.6 kB / 0.8481 GB, free: 8.797 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.3297, allocations: 379.3 kB / 0.8485 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007817/0.3375, allocations: 10.75 MB / 0.859 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3387, allocations: 135.8 kB / 0.8591 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3388, allocations: 71.98 kB / 0.8592 GB, free: 12.41 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006264/0.3394, allocations: 398 kB / 0.8596 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.3396, allocations: 134.4 kB / 0.8597 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.3422, allocations: 1.677 MB / 0.8613 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3422, allocations: 12 kB / 0.8613 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3422, allocations: 4 kB / 0.8614 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3422, allocations: 3.984 kB / 0.8614 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004435/0.3466, allocations: 3.295 MB / 0.8646 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.3467, allocations: 8 kB / 0.8646 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.3474, allocations: 223.6 kB / 0.8648 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006581/0.3481, allocations: 242.9 kB / 0.865 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.3482, allocations: 31.98 kB / 0.8651 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007158/0.3553, allocations: 10.75 MB / 0.8756 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3554, allocations: 8 kB / 0.8756 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.358, allocations: 1.8 MB / 0.8773 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/0.3585, allocations: 303.5 kB / 0.8776 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.3587, allocations: 35.91 kB / 0.8776 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.3593, allocations: 95.8 kB / 0.8777 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.3595, allocations: 96.7 kB / 0.8778 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.3596, allocations: 36 kB / 0.8779 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007262/0.3603, allocations: 0.6177 MB / 0.8785 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3604, allocations: 0 / 0.8785 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001382/0.3617, allocations: 392 kB / 0.8788 GB, free: 6.867 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.362, allocations: 147 kB / 0.879 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003335/0.3653, allocations: 2.485 MB / 0.8814 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3653, allocations: 192 / 0.8814 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.3674, allocations: 1.633 MB / 0.883 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.3693, allocations: 330.3 kB / 0.8833 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005097/0.3744, allocations: 3.377 MB / 0.8866 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008626/0.3753, allocations: 1.331 MB / 0.8879 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001109/0.3764, allocations: 355.3 kB / 0.8882 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.3767, allocations: 95.42 kB / 0.8883 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of SimCode: time 1.373e-06/0.3767, allocations: 4 kB / 0.8883 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.02695/0.4037, allocations: 16.44 MB / 0.9044 GB, free: 12.49 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)