Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009934/0.0009936, allocations: 176.1 kB / 326.5 MB, free: 2.707 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.493/1.493, allocations: 205 MB / 0.5766 GB, free: 21.06 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.0007863/0.0007864, allocations: 94.16 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 10.44 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02364/0.2143, allocations: 19.94 MB / 0.9162 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.2244, allocations: 7.62 MB / 0.9237 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.2262, allocations: 51.81 kB / 0.9237 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.2289, allocations: 1.235 MB / 0.9249 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.2309, allocations: 0.9263 MB / 0.9258 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.2345, allocations: 1.849 MB / 0.9276 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.239, allocations: 6.441 MB / 0.9339 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006993/0.246, allocations: 6.83 MB / 0.9406 GB, free: 23.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.2478, allocations: 1.296 MB / 0.9419 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.2497, allocations: 1.873 MB / 0.9437 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.25, allocations: 176 kB / 0.9438 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.2513, allocations: 0.8228 MB / 0.9447 GB, free: 18.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009087/0.2522, allocations: 1.337 MB / 0.946 GB, free: 17.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.2532, allocations: 1.349 MB / 0.9473 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.2563, allocations: 5.162 MB / 0.9523 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2563, allocations: 0 / 0.9523 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2564, allocations: 4 kB / 0.9523 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001225/0.2565, allocations: 0 / 0.9523 GB, free: 11.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006641/0.2631, allocations: 2.439 MB / 0.9547 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.2632, allocations: 12.02 kB / 0.9547 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/0.2683, allocations: 0.6844 MB / 0.9554 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/0.2725, allocations: 1.532 MB / 0.9569 GB, free: 6.316 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.2728, allocations: 222.1 kB / 0.9571 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.2738, allocations: 284.3 kB / 0.9574 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.2863, allocations: 5.059 MB / 0.9623 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.905e-05/0.2864, allocations: 11.88 kB / 0.9623 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004623/0.2869, allocations: 120 kB / 0.9624 GB, free: 456 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002774/0.2872, allocations: 216.6 kB / 0.9626 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.2989, allocations: 4.185 MB / 0.9667 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02916/0.3281, allocations: 23.02 MB / 0.9892 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.331, allocations: 1.723 MB / 0.9909 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.3326, allocations: 1.129 MB / 0.992 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.3328, allocations: 101.7 kB / 0.9921 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3329, allocations: 47.16 kB / 0.9921 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=84): time 2.986e-06/0.3329, allocations: 3.938 kB / 0.9921 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=87): time 0.006525/0.3394, allocations: 4.005 MB / 0.996 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.3395, allocations: 137.2 kB / 0.9962 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3407, allocations: 0.8564 MB / 0.997 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.449e-05/0.3408, allocations: 41.7 kB / 0.9971 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006951/0.3415, allocations: 1.162 MB / 0.9982 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.3418, allocations: 315.7 kB / 0.9985 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.342, allocations: 101.7 kB / 0.9986 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3422, allocations: 406.7 kB / 0.999 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.3433, allocations: 0.7989 MB / 0.9998 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.3449, allocations: 1.299 MB / 1.001 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.3483, allocations: 2.151 MB / 1.003 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.3483, allocations: 4 kB / 1.003 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003369/0.3517, allocations: 2.176 MB / 1.005 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003955/0.3521, allocations: 0.4944 MB / 1.006 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.3521, allocations: 12 kB / 1.006 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.031e-05/0.3522, allocations: 31.98 kB / 1.006 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.3537, allocations: 407.2 kB / 1.006 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-05/0.3537, allocations: 31.92 kB / 1.006 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.3549, allocations: 203.2 kB / 1.006 GB, free: 460 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.355, allocations: 59.98 kB / 1.006 GB, free: 400 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3551, allocations: 6.5 kB / 1.006 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002553/0.3576, allocations: 1.773 MB / 1.008 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.3577, allocations: 16.06 kB / 1.008 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.3577, allocations: 24 kB / 1.008 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.3589, allocations: 355.4 kB / 1.009 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.204e-05/0.3589, allocations: 31.86 kB / 1.009 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/0.3598, allocations: 151.3 kB / 1.009 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.3599, allocations: 55.98 kB / 1.009 GB, free: 13.99 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001671/0.3616, allocations: 1.176 MB / 1.01 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.3619, allocations: 106.7 kB / 1.01 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.3647, allocations: 1.854 MB / 1.012 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.3647, allocations: 8 kB / 1.012 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3647, allocations: 4.125 kB / 1.012 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3647, allocations: 11.97 kB / 1.012 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.3775, allocations: 9.585 MB / 1.021 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/0.3775, allocations: 16.03 kB / 1.021 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.3788, allocations: 307.5 kB / 1.022 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/0.3788, allocations: 16 kB / 1.022 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/0.3789, allocations: 32 kB / 1.022 GB, free: 0.6016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-05/0.379, allocations: 23.92 kB / 1.022 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.379, allocations: 19.97 kB / 1.022 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.3817, allocations: 2.41 MB / 1.024 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006836/0.3824, allocations: 379.5 kB / 1.024 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.3827, allocations: 35.92 kB / 1.024 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.3836, allocations: 139.8 kB / 1.025 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.3838, allocations: 91.61 kB / 1.025 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.146e-05/0.3839, allocations: 32 kB / 1.025 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007795/0.3847, allocations: 0.5888 MB / 1.025 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.3847, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002525/0.3872, allocations: 0.7461 MB / 1.026 GB, free: 11.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002306/0.3875, allocations: 142.9 kB / 1.026 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004043/0.3915, allocations: 2.846 MB / 1.029 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3916, allocations: 4 kB / 1.029 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.3928, allocations: 0.9131 MB / 1.03 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.3957, allocations: 281.7 kB / 1.03 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/0.4048, allocations: 6.662 MB / 1.037 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.4072, allocations: 2.191 MB / 1.039 GB, free: 14.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.4077, allocations: 91.42 kB / 1.039 GB, free: 14.63 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/0.4078, allocations: 0 / 1.039 GB, free: 14.63 MB / 0.698 GB Notification: Performance of Templates: time 0.3919/0.7997, allocations: 27.41 MB / 1.066 GB, free: 138.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)