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.432/1.432, allocations: 252 MB / 267.6 MB, free: 10.91 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.001485/0.001485, allocations: 176.9 kB / 327.3 MB, free: 2.215 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.885/1.885, allocations: 205.4 MB / 0.5783 GB, free: 20.19 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.0007986/0.0007985, allocations: 93.81 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005019/0.0005021, allocations: 14.88 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2317, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01579/0.2475, allocations: 18.54 MB / 0.9189 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.2581, allocations: 7.17 MB / 0.9259 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.2602, allocations: 51.81 kB / 0.926 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.2616, allocations: 357.3 kB / 0.9263 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.264, allocations: 0.7585 MB / 0.9271 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.2674, allocations: 1.01 MB / 0.9281 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004709/0.2721, allocations: 4.938 MB / 0.9329 GB, free: 31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008843/0.2809, allocations: 6.544 MB / 0.9393 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.2834, allocations: 1.281 MB / 0.9405 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00296/0.2863, allocations: 1.838 MB / 0.9423 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007935/0.2872, allocations: 172 kB / 0.9425 GB, free: 21.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.2889, allocations: 423.6 kB / 0.9429 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.2907, allocations: 1.345 MB / 0.9442 GB, free: 19.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.2919, allocations: 0.5512 MB / 0.9447 GB, free: 18.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.2963, allocations: 5.139 MB / 0.9498 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2963, allocations: 0 / 0.9498 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2963, allocations: 0 / 0.9498 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000221/0.2966, allocations: 0 / 0.9498 GB, free: 13.61 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.005676/0.3022, allocations: 2.47 MB / 0.9522 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.3023, allocations: 8.031 kB / 0.9522 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.3058, allocations: 0.6796 MB / 0.9528 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.3087, allocations: 1.519 MB / 0.9543 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.3088, allocations: 221.8 kB / 0.9545 GB, free: 8.605 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007194/0.3096, allocations: 283.9 kB / 0.9548 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008034/0.3176, allocations: 5.027 MB / 0.9597 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.292e-05/0.3177, allocations: 19.86 kB / 0.9597 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003012/0.318, allocations: 124 kB / 0.9599 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/0.3183, allocations: 208.6 kB / 0.96 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007272/0.3256, allocations: 4.165 MB / 0.9641 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.3537, allocations: 23 MB / 0.9866 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.3567, allocations: 1.723 MB / 0.9883 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.3584, allocations: 1.134 MB / 0.9894 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.3586, allocations: 97.73 kB / 0.9895 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.3587, allocations: 47.16 kB / 0.9895 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 3.607e-06/0.3587, allocations: 3.938 kB / 0.9895 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87): time 0.007351/0.3661, allocations: 3.997 MB / 0.9934 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.3662, allocations: 137.2 kB / 0.9935 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.3674, allocations: 0.8487 MB / 0.9944 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.094e-05/0.3675, allocations: 37.7 kB / 0.9944 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000835/0.3684, allocations: 1.154 MB / 0.9955 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.3687, allocations: 315.6 kB / 0.9958 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.3688, allocations: 24 kB / 0.9959 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.369, allocations: 402.7 kB / 0.9962 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.3703, allocations: 0.795 MB / 0.997 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.3719, allocations: 1.287 MB / 0.9983 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3734, allocations: 0.9983 MB / 0.9992 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3734, allocations: 7.938 kB / 0.9993 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003511/0.3769, allocations: 2.171 MB / 1.001 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004052/0.3773, allocations: 0.4953 MB / 1.002 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.3774, allocations: 12 kB / 1.002 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/0.3774, allocations: 24 kB / 1.002 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.379, allocations: 411.4 kB / 1.002 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.448e-05/0.379, allocations: 31.86 kB / 1.002 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.3802, allocations: 203.3 kB / 1.003 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3804, allocations: 59.98 kB / 1.003 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.3804, allocations: 4 kB / 1.003 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/0.383, allocations: 1.765 MB / 1.004 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.383, allocations: 20.17 kB / 1.004 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.383, allocations: 27.94 kB / 1.004 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.3843, allocations: 359.4 kB / 1.005 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.714e-05/0.3843, allocations: 23.94 kB / 1.005 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009549/0.3853, allocations: 147.4 kB / 1.005 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.963e-05/0.3854, allocations: 55.98 kB / 1.005 GB, free: 2.055 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00208/0.3875, allocations: 1.179 MB / 1.006 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.3878, allocations: 102.8 kB / 1.006 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/0.3907, allocations: 1.85 MB / 1.008 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.3908, allocations: 12 kB / 1.008 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3908, allocations: 0 / 1.008 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.3908, allocations: 3.984 kB / 1.008 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.4086, allocations: 9.584 MB / 1.017 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.209e-05/0.4087, allocations: 16.17 kB / 1.017 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/0.4105, allocations: 323.4 kB / 1.018 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.464e-05/0.4106, allocations: 16 kB / 1.018 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.4107, allocations: 24 kB / 1.018 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-05/0.4108, allocations: 19.94 kB / 1.018 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.046e-05/0.4108, allocations: 16.03 kB / 1.018 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004403/0.4152, allocations: 2.413 MB / 1.02 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.4163, allocations: 387.5 kB / 1.02 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.4166, allocations: 35.95 kB / 1.02 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.418, allocations: 139.8 kB / 1.021 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.4183, allocations: 91.64 kB / 1.021 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.4184, allocations: 36 kB / 1.021 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001256/0.4197, allocations: 0.581 MB / 1.021 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2e-07/0.4197, allocations: 0 / 1.021 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004165/0.4239, allocations: 0.75 MB / 1.022 GB, free: 48 kB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004501/0.4244, allocations: 151 kB / 1.022 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006391/0.4308, allocations: 2.826 MB / 1.025 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.4308, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/0.4328, allocations: 0.9158 MB / 1.026 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.4357, allocations: 274.5 kB / 1.026 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.4503, allocations: 6.462 MB / 1.032 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003633/0.454, allocations: 2.195 MB / 1.035 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008657/0.4549, allocations: 99.41 kB / 1.035 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/0.455, allocations: 0 / 1.035 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of Templates: time 0.4603/0.9153, allocations: 27.54 MB / 1.062 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)