Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.741/2.741, allocations: 287.5 MB / 302.4 MB, free: 8.242 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.001356/0.001356, allocations: 185.1 kB / 371 MB, free: 10.88 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.384/2.384, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.001375/0.001375, allocations: 81.67 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005187, allocations: 11.2 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02101/0.2498, allocations: 14.52 MB / 0.9926 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.2634, allocations: 4.612 MB / 0.9971 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.2656, allocations: 59.62 kB / 0.9971 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.2675, allocations: 250 kB / 0.9974 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.2706, allocations: 0.5871 MB / 0.9979 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.2731, allocations: 0.4889 MB / 0.9984 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005588/0.2787, allocations: 4.101 MB / 1.002 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.2896, allocations: 4.947 MB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003078/0.2927, allocations: 1.113 MB / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003723/0.2965, allocations: 1.468 MB / 1.01 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007694/0.2973, allocations: 144 kB / 1.01 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.2996, allocations: 399.6 kB / 1.01 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002338/0.302, allocations: 1.068 MB / 1.011 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.3033, allocations: 492.5 kB / 1.012 GB, free: 10 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007134/0.3104, allocations: 4.263 MB / 1.016 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.3105, allocations: 3.938 kB / 1.016 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3105, allocations: 7.938 kB / 1.016 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001436/0.3106, allocations: 0 / 1.016 GB, free: 5.715 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.007555/0.3182, allocations: 2.198 MB / 1.018 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.3183, allocations: 8.031 kB / 1.018 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006971/0.3253, allocations: 0.8358 MB / 1.019 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/0.33, allocations: 1.477 MB / 1.02 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.3303, allocations: 180.8 kB / 1.021 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009639/0.3313, allocations: 228 kB / 1.021 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.3444, allocations: 4.149 MB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.3446, allocations: 4 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004518/0.3451, allocations: 99.97 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003551/0.3454, allocations: 176.5 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.3572, allocations: 3.621 MB / 1.029 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03345/0.3907, allocations: 16.54 MB / 1.045 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006139/0.3969, allocations: 2.296 MB / 1.047 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.3986, allocations: 0.578 MB / 1.048 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.3989, allocations: 101.6 kB / 1.048 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.3989, allocations: 43.12 kB / 1.048 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 3.957e-06/0.3989, allocations: 0 / 1.048 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.009752/0.4087, allocations: 3.444 MB / 1.051 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.4089, allocations: 115.4 kB / 1.051 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.4111, allocations: 1.01 MB / 1.052 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.4113, allocations: 41.7 kB / 1.052 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.4124, allocations: 1.103 MB / 1.053 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.4128, allocations: 268.2 kB / 1.054 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.413, allocations: 31.94 kB / 1.054 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003084/0.4133, allocations: 414.7 kB / 1.054 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.4151, allocations: 0.6167 MB / 1.055 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.4174, allocations: 1.185 MB / 1.056 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.4197, allocations: 0.8579 MB / 1.057 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/0.4197, allocations: 8 kB / 1.057 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005699/0.4254, allocations: 2.018 MB / 1.059 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.55e-05/0.4255, allocations: 15.98 kB / 1.059 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/0.4256, allocations: 20 kB / 1.059 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007164/0.4263, allocations: 159.3 kB / 1.059 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.4287, allocations: 347.7 kB / 1.059 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.728e-05/0.4288, allocations: 39.86 kB / 1.059 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.4307, allocations: 135.7 kB / 1.059 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.4309, allocations: 75.98 kB / 1.059 GB, free: 6.895 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002495/0.4334, allocations: 0.9771 MB / 1.06 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/0.4339, allocations: 102.8 kB / 1.06 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.4375, allocations: 1.249 MB / 1.062 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.4376, allocations: 8 kB / 1.062 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4376, allocations: 0 / 1.062 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.4376, allocations: 3.984 kB / 1.062 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/0.4473, allocations: 3.815 MB / 1.065 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.4474, allocations: 4 kB / 1.065 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.4486, allocations: 164 kB / 1.065 GB, free: 408 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/0.4493, allocations: 135.3 kB / 1.066 GB, free: 260 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/0.4494, allocations: 16 kB / 1.066 GB, free: 244 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/0.4494, allocations: 7.938 kB / 1.066 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.4494, allocations: 4 kB / 1.066 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6271/1.077, allocations: 1.471 MB / 1.067 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008536/1.077, allocations: 289.2 kB / 1.067 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/1.078, allocations: 22.5 kB / 1.067 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.079, allocations: 72.06 kB / 1.067 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.079, allocations: 61.05 kB / 1.067 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/1.079, allocations: 22.84 kB / 1.068 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001571/1.081, allocations: 0.6919 MB / 1.068 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.081, allocations: 1.625 kB / 1.068 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002231/1.083, allocations: 385 kB / 1.069 GB, free: 83.35 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002786/1.083, allocations: 133.3 kB / 1.069 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004106/1.088, allocations: 1.718 MB / 1.07 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.088, allocations: 0.8438 kB / 1.07 GB, free: 82.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.089, allocations: 0.8626 MB / 1.071 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/1.092, allocations: 248.9 kB / 1.071 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.103, allocations: 4.628 MB / 1.076 GB, free: 79.28 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003985/1.108, allocations: 1.917 MB / 1.078 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0025/1.11, allocations: 456.1 kB / 1.078 GB, free: 78.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/1.111, allocations: 83.47 kB / 1.078 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of SimCode: time 1.342e-06/1.111, allocations: 0 / 1.078 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of Templates: time 0.04642/1.157, allocations: 12.42 MB / 1.09 GB, free: 77.31 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)