Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.885/2.885, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001416/0.001416, allocations: 166.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009698/0.0009696, allocations: 83.59 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.000497, allocations: 11.58 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2355, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02781/0.2634, allocations: 18.53 MB / 0.9965 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.2796, allocations: 7.159 MB / 1.003 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.2819, allocations: 51.81 kB / 1.003 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.2837, allocations: 357.3 kB / 1.004 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003317/0.2871, allocations: 0.7507 MB / 1.005 GB, free: 1.414 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004557/0.2917, allocations: 1.022 MB / 1.006 GB, free: 404 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008956/0.3007, allocations: 4.931 MB / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01609/0.3169, allocations: 6.561 MB / 1.017 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.3203, allocations: 1.277 MB / 1.018 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.3251, allocations: 1.834 MB / 1.02 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.3263, allocations: 176 kB / 1.02 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.3288, allocations: 427.6 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002939/0.3318, allocations: 1.333 MB / 1.022 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.3333, allocations: 0.555 MB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009158/0.3425, allocations: 5.135 MB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.3425, allocations: 0 / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.268e-06/0.3426, allocations: 4 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000216/0.3428, allocations: 0 / 1.027 GB, free: 10.06 MB / 0.6511 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.009438/0.3522, allocations: 2.47 MB / 1.03 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.3523, allocations: 12.03 kB / 1.03 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005323/0.3577, allocations: 0.6912 MB / 1.03 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004727/0.3624, allocations: 1.512 MB / 1.032 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.3628, allocations: 213.8 kB / 1.032 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.364, allocations: 292 kB / 1.032 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.3792, allocations: 5.031 MB / 1.037 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.3794, allocations: 7.938 kB / 1.037 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006212/0.3801, allocations: 124 kB / 1.037 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004211/0.3805, allocations: 208.6 kB / 1.038 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.3937, allocations: 4.165 MB / 1.042 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0415/0.4353, allocations: 23.01 MB / 1.064 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00506/0.4404, allocations: 1.708 MB / 1.066 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6605/1.101, allocations: 1.128 MB / 1.067 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/1.101, allocations: 99.44 kB / 1.067 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/1.101, allocations: 46.84 kB / 1.067 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 3.967e-06/1.101, allocations: 0 / 1.067 GB, free: 84.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=87): time 0.01029/1.112, allocations: 4.002 MB / 1.071 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/1.112, allocations: 142 kB / 1.071 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/1.114, allocations: 0.8417 MB / 1.072 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/1.114, allocations: 46.17 kB / 1.072 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.115, allocations: 1.159 MB / 1.073 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005289/1.116, allocations: 312 kB / 1.073 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.116, allocations: 24.84 kB / 1.073 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002514/1.116, allocations: 407.7 kB / 1.074 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/1.119, allocations: 0.7953 MB / 1.075 GB, free: 80.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/1.121, allocations: 1.283 MB / 1.076 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00289/1.124, allocations: 1.003 MB / 1.077 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/1.124, allocations: 4.438 kB / 1.077 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006426/1.131, allocations: 2.166 MB / 1.079 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/1.131, allocations: 0.4974 MB / 1.079 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/1.131, allocations: 15.48 kB / 1.079 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-05/1.131, allocations: 22.84 kB / 1.079 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/1.135, allocations: 417.2 kB / 1.08 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.426e-05/1.135, allocations: 27.72 kB / 1.08 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/1.137, allocations: 199.9 kB / 1.08 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/1.138, allocations: 58.39 kB / 1.08 GB, free: 78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.138, allocations: 4.438 kB / 1.08 GB, free: 78 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004927/1.143, allocations: 1.763 MB / 1.082 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/1.143, allocations: 14.55 kB / 1.082 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/1.143, allocations: 26.97 kB / 1.082 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/1.145, allocations: 358.9 kB / 1.082 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.226e-05/1.146, allocations: 35.78 kB / 1.082 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/1.147, allocations: 149.2 kB / 1.082 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/1.148, allocations: 56 kB / 1.082 GB, free: 77.24 MB / 0.6823 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.003138/1.151, allocations: 1.172 MB / 1.084 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/1.151, allocations: 106.5 kB / 1.084 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004923/1.156, allocations: 1.852 MB / 1.085 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/1.156, allocations: 10 kB / 1.085 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.156, allocations: 5.109 kB / 1.085 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/1.156, allocations: 6.703 kB / 1.085 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/1.179, allocations: 9.575 MB / 1.095 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/1.179, allocations: 11.47 kB / 1.095 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.182, allocations: 313.7 kB / 1.095 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.938e-05/1.182, allocations: 23.86 kB / 1.095 GB, free: 72.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.182, allocations: 28.25 kB / 1.095 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/1.182, allocations: 29.98 kB / 1.095 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/1.182, allocations: 15.81 kB / 1.095 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/1.186, allocations: 2.41 MB / 1.098 GB, free: 70.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.188, allocations: 378.2 kB / 1.098 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/1.188, allocations: 33.84 kB / 1.098 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.19, allocations: 137.9 kB / 1.098 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/1.19, allocations: 91.05 kB / 1.098 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/1.19, allocations: 36.16 kB / 1.098 GB, free: 70.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001153/1.191, allocations: 0.5836 MB / 1.099 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/1.191, allocations: 0 / 1.099 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004204/1.195, allocations: 0.7455 MB / 1.1 GB, free: 70.05 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 (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.0004043/1.196, allocations: 159.7 kB / 1.1 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007057/1.203, allocations: 2.825 MB / 1.102 GB, free: 68.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.203, allocations: 5.234 kB / 1.102 GB, free: 68.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002338/1.205, allocations: 0.91 MB / 1.103 GB, free: 68.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/1.208, allocations: 275.7 kB / 1.104 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.222, allocations: 6.024 MB / 1.11 GB, free: 65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/1.225, allocations: 2.122 MB / 1.112 GB, free: 63.58 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003478/1.229, allocations: 0.7419 MB / 1.112 GB, free: 63.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/1.23, allocations: 82.67 kB / 1.112 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/1.23, allocations: 0 / 1.112 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of Templates: time 0.04402/1.274, allocations: 16.12 MB / 1.128 GB, free: 50.93 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)