Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.201/2.201, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 193 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001007, allocations: 111.6 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001168, allocations: 52.84 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2466, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01727/0.2639, allocations: 20.26 MB / 1.238 GB, free: 96.89 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.2751, allocations: 7.557 MB / 1.245 GB, free: 89.32 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.2774, allocations: 51.81 kB / 1.245 GB, free: 89.27 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.2806, allocations: 1.256 MB / 1.247 GB, free: 88.01 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.283, allocations: 0.9263 MB / 1.247 GB, free: 87.08 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.2873, allocations: 1.843 MB / 1.249 GB, free: 85.24 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.2921, allocations: 6.469 MB / 1.256 GB, free: 78.76 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008979/0.3011, allocations: 6.875 MB / 1.262 GB, free: 71.82 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.3044, allocations: 1.558 MB / 1.264 GB, free: 70.26 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/0.3078, allocations: 2.251 MB / 1.266 GB, free: 68 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.3089, allocations: 292 kB / 1.266 GB, free: 67.71 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.3111, allocations: 0.936 MB / 1.267 GB, free: 66.78 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00211/0.3132, allocations: 1.52 MB / 1.269 GB, free: 65.25 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003164/0.3164, allocations: 1.575 MB / 1.27 GB, free: 63.67 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.3219, allocations: 6.065 MB / 1.276 GB, free: 57.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3219, allocations: 0 / 1.276 GB, free: 57.59 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.322, allocations: 4 kB / 1.276 GB, free: 57.59 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001587/0.3221, allocations: 0 / 1.276 GB, free: 57.59 MB / 0.823 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.006026/0.3282, allocations: 3.044 MB / 1.279 GB, free: 54.48 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3282, allocations: 15.98 kB / 1.279 GB, free: 54.46 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.3309, allocations: 0.6805 MB / 1.28 GB, free: 53.78 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.334, allocations: 1.532 MB / 1.281 GB, free: 52.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.3342, allocations: 218.2 kB / 1.282 GB, free: 51.99 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008102/0.335, allocations: 288.2 kB / 1.282 GB, free: 51.71 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009044/0.344, allocations: 5.054 MB / 1.287 GB, free: 46.46 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.3442, allocations: 7.938 kB / 1.287 GB, free: 46.46 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000482/0.3447, allocations: 120 kB / 1.287 GB, free: 46.34 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/0.3449, allocations: 212.6 kB / 1.287 GB, free: 46.13 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/0.3512, allocations: 4.177 MB / 1.291 GB, free: 41.94 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/0.3721, allocations: 23.01 MB / 1.314 GB, free: 16.79 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.3745, allocations: 1.731 MB / 1.315 GB, free: 15.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.3757, allocations: 1.129 MB / 1.316 GB, free: 13.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3759, allocations: 105.7 kB / 1.316 GB, free: 13.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3759, allocations: 43.22 kB / 1.317 GB, free: 13.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=84): time 3.156e-06/0.376, allocations: 0 / 1.317 GB, free: 13.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=87): time 0.0053/0.3813, allocations: 3.993 MB / 1.32 GB, free: 9.676 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.3813, allocations: 137.2 kB / 1.321 GB, free: 9.512 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.3822, allocations: 0.8525 MB / 1.321 GB, free: 8.652 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.3823, allocations: 41.64 kB / 1.321 GB, free: 8.605 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.3827, allocations: 1.158 MB / 1.323 GB, free: 7.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.3829, allocations: 311.7 kB / 1.323 GB, free: 7.121 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.3833, allocations: 270.5 kB / 1.323 GB, free: 6.848 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.3834, allocations: 414.7 kB / 1.324 GB, free: 6.434 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009554/0.3844, allocations: 0.8023 MB / 1.324 GB, free: 5.629 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.3855, allocations: 1.287 MB / 1.326 GB, free: 4.121 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.3876, allocations: 2.136 MB / 1.328 GB, free: 1.789 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3876, allocations: 8 kB / 1.328 GB, free: 1.781 MB / 0.823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002942/0.3906, allocations: 2.167 MB / 1.33 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.3906, allocations: 12.97 kB / 1.33 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.3907, allocations: 12 kB / 1.33 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.484e-05/0.3907, allocations: 20.14 kB / 1.33 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.3923, allocations: 419.2 kB / 1.33 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.685e-05/0.3924, allocations: 31.86 kB / 1.33 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.3936, allocations: 199.3 kB / 1.33 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.3937, allocations: 59.97 kB / 1.33 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002518/0.3962, allocations: 1.662 MB / 1.332 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001328/0.3976, allocations: 1.166 MB / 1.333 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002265/0.3999, allocations: 1.882 MB / 1.335 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.397e-05/0.3999, allocations: 7.938 kB / 1.335 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002819/0.4027, allocations: 1.883 MB / 1.337 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4028, allocations: 13.09 kB / 1.337 GB, free: 7.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.4028, allocations: 15.98 kB / 1.337 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.4028, allocations: 27.94 kB / 1.337 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4041, allocations: 355.4 kB / 1.337 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.29e-05/0.4041, allocations: 35.86 kB / 1.337 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.4052, allocations: 163.6 kB / 1.338 GB, free: 7.207 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.4053, allocations: 56 kB / 1.338 GB, free: 7.152 MB / 0.8386 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.0003683/0.4057, allocations: 268.4 kB / 1.338 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/0.406, allocations: 98.78 kB / 1.338 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.4088, allocations: 1.842 MB / 1.34 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4089, allocations: 8 kB / 1.34 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.609e-06/0.4089, allocations: 192 / 1.34 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4089, allocations: 7.984 kB / 1.34 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.4223, allocations: 9.572 MB / 1.349 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/0.4224, allocations: 12 kB / 1.349 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.4236, allocations: 308.1 kB / 1.349 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/0.4237, allocations: 16 kB / 1.349 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.4238, allocations: 39.98 kB / 1.349 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.263e-05/0.4238, allocations: 23.88 kB / 1.349 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/0.4238, allocations: 19.88 kB / 1.349 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/0.4288, allocations: 4.274 MB / 1.354 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007984/0.4296, allocations: 367.6 kB / 1.354 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.4298, allocations: 35.98 kB / 1.354 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.4309, allocations: 131.8 kB / 1.354 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.4311, allocations: 87.67 kB / 1.354 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/0.4312, allocations: 43.98 kB / 1.354 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008309/0.432, allocations: 0.5926 MB / 1.355 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.445e-06/0.432, allocations: 0 / 1.355 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002977/0.435, allocations: 0.7538 MB / 1.356 GB, free: 4.191 MB / 0.8542 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.0002727/0.4353, allocations: 142.9 kB / 1.356 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004148/0.4394, allocations: 2.83 MB / 1.359 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.4395, allocations: 0 / 1.359 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.4407, allocations: 0.9116 MB / 1.359 GB, free: 312 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.4427, allocations: 287.5 kB / 1.36 GB, free: 32 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.4534, allocations: 6.761 MB / 1.366 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/0.4563, allocations: 2.175 MB / 1.368 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002164/0.4585, allocations: 0.7344 MB / 1.369 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.459, allocations: 83.42 kB / 1.369 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of SimCode: time 7.31e-07/0.459, allocations: 0 / 1.369 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of Templates: time 0.03047/0.4894, allocations: 17.17 MB / 1.386 GB, free: 5.012 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)