Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001267/0.001267, allocations: 194.2 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 94.91 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.28, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0414/0.3215, allocations: 36.91 MB / 1.018 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5666/0.8881, allocations: 13.64 MB / 1.032 GB, free: 73.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005182/0.8934, allocations: 101.2 kB / 1.032 GB, free: 73.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.006276/0.8997, allocations: 2.105 MB / 1.034 GB, free: 73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0058/0.9055, allocations: 1.335 MB / 1.035 GB, free: 72.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009514/0.9151, allocations: 3.26 MB / 1.038 GB, free: 72.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01781/0.9329, allocations: 9.615 MB / 1.048 GB, free: 72.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0172/0.9502, allocations: 11.21 MB / 1.059 GB, free: 69.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/0.9558, allocations: 2.296 MB / 1.061 GB, free: 68.35 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005454/0.9613, allocations: 3.291 MB / 1.064 GB, free: 67.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0009915/0.9623, allocations: 433.5 kB / 1.064 GB, free: 67.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.9651, allocations: 1.228 MB / 1.066 GB, free: 67.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.9677, allocations: 2.275 MB / 1.068 GB, free: 66.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003758/0.9715, allocations: 2.336 MB / 1.07 GB, free: 64.85 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.9818, allocations: 8.99 MB / 1.079 GB, free: 62.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.9818, allocations: 4 kB / 1.079 GB, free: 62.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9818, allocations: 0 / 1.079 GB, free: 62.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002954/0.9821, allocations: 0 / 1.079 GB, free: 62.27 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01026/0.9924, allocations: 4.293 MB / 1.083 GB, free: 59.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.9925, allocations: 13.66 kB / 1.083 GB, free: 59.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.9961, allocations: 0.9445 MB / 1.084 GB, free: 59.72 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00412/1, allocations: 2.185 MB / 1.086 GB, free: 58.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/1, allocations: 333.6 kB / 1.087 GB, free: 58.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005762/1.001, allocations: 420.6 kB / 1.087 GB, free: 58.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/1.012, allocations: 7.361 MB / 1.094 GB, free: 55.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.809e-05/1.012, allocations: 18.97 kB / 1.094 GB, free: 55.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004156/1.013, allocations: 184.6 kB / 1.094 GB, free: 55.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002891/1.013, allocations: 293.1 kB / 1.095 GB, free: 55.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008791/1.022, allocations: 5.955 MB / 1.1 GB, free: 53.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03361/1.055, allocations: 32.62 MB / 1.132 GB, free: 28.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/1.059, allocations: 2.114 MB / 1.134 GB, free: 27.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/1.06, allocations: 1.243 MB / 1.136 GB, free: 26.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/1.061, allocations: 106.2 kB / 1.136 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/1.061, allocations: 48.03 kB / 1.136 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=98): time 4.759e-06/1.061, allocations: 5.031 kB / 1.136 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=101): time 0.009835/1.07, allocations: 5.227 MB / 1.141 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/1.071, allocations: 155.1 kB / 1.141 GB, free: 23.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/1.073, allocations: 1.446 MB / 1.142 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/1.073, allocations: 46.48 kB / 1.142 GB, free: 23.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.075, allocations: 1.86 MB / 1.144 GB, free: 21.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/1.075, allocations: 376.2 kB / 1.145 GB, free: 21.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009131/1.076, allocations: 459 kB / 1.145 GB, free: 21.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/1.076, allocations: 306.2 kB / 1.145 GB, free: 20.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/1.078, allocations: 1.117 MB / 1.146 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/1.081, allocations: 2.186 MB / 1.149 GB, free: 18.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005759/1.087, allocations: 3.398 MB / 1.152 GB, free: 16.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.996e-05/1.087, allocations: 9.656 kB / 1.152 GB, free: 16.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007584/1.094, allocations: 3.313 MB / 1.155 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/1.094, allocations: 23.91 kB / 1.155 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/1.095, allocations: 33.75 kB / 1.155 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001109/1.095, allocations: 51 kB / 1.155 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/1.097, allocations: 0.6167 MB / 1.156 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001096/1.097, allocations: 75 kB / 1.156 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/1.1, allocations: 310.2 kB / 1.156 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/1.1, allocations: 114.4 kB / 1.156 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004571/1.105, allocations: 2.403 MB / 1.159 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002668/1.107, allocations: 2.015 MB / 1.161 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004237/1.112, allocations: 3.037 MB / 1.164 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.475e-05/1.112, allocations: 10.69 kB / 1.164 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006313/1.118, allocations: 2.924 MB / 1.166 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/1.118, allocations: 19.78 kB / 1.166 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-05/1.118, allocations: 35.25 kB / 1.166 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-05/1.118, allocations: 48.22 kB / 1.166 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.12, allocations: 0.5509 MB / 1.167 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001404/1.121, allocations: 70.95 kB / 1.167 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/1.123, allocations: 254.9 kB / 1.167 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/1.123, allocations: 111.5 kB / 1.167 GB, free: 8.84 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0007879/1.124, allocations: 330.5 kB / 1.168 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005791/1.125, allocations: 156.8 kB / 1.168 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/1.129, allocations: 2.219 MB / 1.17 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.129, allocations: 11.28 kB / 1.17 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.129, allocations: 9.734 kB / 1.17 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/1.129, allocations: 6.656 kB / 1.17 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01871/1.148, allocations: 10.98 MB / 1.181 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/1.148, allocations: 15.98 kB / 1.181 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.149, allocations: 387.5 kB / 1.181 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.239e-05/1.149, allocations: 20 kB / 1.181 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/1.149, allocations: 36 kB / 1.181 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.601e-05/1.149, allocations: 19.94 kB / 1.181 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.149, allocations: 19.88 kB / 1.181 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/1.155, allocations: 4.931 MB / 1.186 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.156, allocations: 450.8 kB / 1.187 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004783/1.157, allocations: 35.92 kB / 1.187 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.159, allocations: 163.7 kB / 1.187 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/1.159, allocations: 108.1 kB / 1.187 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.159, allocations: 40 kB / 1.187 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001864/1.161, allocations: 0.9742 MB / 1.188 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.4e-07/1.161, allocations: 0 / 1.188 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006304/1.167, allocations: 1.125 MB / 1.189 GB, free: 9.742 MB / 0.7605 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 (104): * Single equations (assignments): 104 * 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.0003835/1.168, allocations: 139 kB / 1.189 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006929/1.174, allocations: 3.989 MB / 1.193 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.175, allocations: 0 / 1.193 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/1.176, allocations: 1.059 MB / 1.194 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/1.179, allocations: 413.8 kB / 1.194 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.195, allocations: 9.41 MB / 1.204 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004173/1.199, allocations: 2.903 MB / 1.206 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003643/1.203, allocations: 1.204 MB / 1.208 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/1.203, allocations: 115.4 kB / 1.208 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of SimCode: time 2.976e-06/1.204, allocations: 0 / 1.208 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of Templates: time 0.04637/1.25, allocations: 24.33 MB / 1.231 GB, free: 14.24 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)