Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.3 MB / 0.5489 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 76.61 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2752, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0183/0.2935, allocations: 16 MB / 0.7998 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008851/0.3024, allocations: 4.872 MB / 0.8045 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.304, allocations: 67.69 kB / 0.8046 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.3067, allocations: 1.046 MB / 0.8056 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.3085, allocations: 0.7464 MB / 0.8063 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.3108, allocations: 0.915 MB / 0.8072 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003844/0.3146, allocations: 3.607 MB / 0.8107 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005431/0.3201, allocations: 4.754 MB / 0.8154 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.323, allocations: 1.593 MB / 0.8169 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.3256, allocations: 1.788 MB / 0.8187 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004475/0.326, allocations: 340 kB / 0.819 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.3277, allocations: 0.7919 MB / 0.8198 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.3289, allocations: 1.314 MB / 0.8211 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.3305, allocations: 1.459 MB / 0.8225 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.3355, allocations: 5.134 MB / 0.8275 GB, free: 124 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3355, allocations: 0 / 0.8275 GB, free: 124 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3355, allocations: 0 / 0.8275 GB, free: 124 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.96e-05/0.3356, allocations: 0 / 0.8275 GB, free: 124 kB / 0.6387 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.005943/0.3416, allocations: 2.658 MB / 0.8301 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3416, allocations: 12.03 kB / 0.8301 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003889/0.3455, allocations: 0.8329 MB / 0.8309 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.3482, allocations: 1.568 MB / 0.8325 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.3484, allocations: 181.1 kB / 0.8326 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/0.3487, allocations: 232.3 kB / 0.8329 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/0.3559, allocations: 4.165 MB / 0.8369 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.494e-05/0.356, allocations: 7.922 kB / 0.8369 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.3563, allocations: 99.98 kB / 0.837 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002372/0.3566, allocations: 164.5 kB / 0.8372 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/0.3624, allocations: 3.632 MB / 0.8407 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/0.3802, allocations: 16.42 MB / 0.8568 GB, free: 476 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.3834, allocations: 2.3 MB / 0.859 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.3843, allocations: 0.5766 MB / 0.8596 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.3844, allocations: 101.6 kB / 0.8597 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3845, allocations: 43.06 kB / 0.8597 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.875e-06/0.3845, allocations: 4 kB / 0.8597 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.005287/0.3898, allocations: 3.424 MB / 0.8631 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.3898, allocations: 111.5 kB / 0.8632 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.391, allocations: 1.018 MB / 0.8642 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.3911, allocations: 37.7 kB / 0.8642 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/0.3918, allocations: 1.107 MB / 0.8653 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.392, allocations: 272.2 kB / 0.8655 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/0.3924, allocations: 283.2 kB / 0.8658 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3926, allocations: 410.7 kB / 0.8662 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.3934, allocations: 0.6167 MB / 0.8668 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.3947, allocations: 1.189 MB / 0.868 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.3968, allocations: 1.864 MB / 0.8698 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.3968, allocations: 7.938 kB / 0.8698 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002924/0.3998, allocations: 2.018 MB / 0.8718 GB, free: 128 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.3998, allocations: 16.94 kB / 0.8718 GB, free: 112 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.3998, allocations: 20 kB / 0.8718 GB, free: 92 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.4003, allocations: 168 kB / 0.8719 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4014, allocations: 347.4 kB / 0.8723 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.509e-05/0.4014, allocations: 35.86 kB / 0.8723 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/0.4023, allocations: 123.7 kB / 0.8724 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.4024, allocations: 75.92 kB / 0.8725 GB, free: 15.34 MB / 0.7012 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001466/0.4038, allocations: 0.9762 MB / 0.8735 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.4041, allocations: 110.7 kB / 0.8736 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.4061, allocations: 1.226 MB / 0.8748 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4061, allocations: 15.94 kB / 0.8748 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4061, allocations: 0 / 0.8748 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.4061, allocations: 3.984 kB / 0.8748 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/0.4122, allocations: 3.802 MB / 0.8785 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4123, allocations: 4 kB / 0.8785 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.413, allocations: 155.8 kB / 0.8786 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.4134, allocations: 143.6 kB / 0.8788 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.4134, allocations: 12 kB / 0.8788 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.4134, allocations: 15.92 kB / 0.8788 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.4134, allocations: 3.938 kB / 0.8788 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.4157, allocations: 1.465 MB / 0.8802 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/0.4162, allocations: 275.7 kB / 0.8805 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.4163, allocations: 19.94 kB / 0.8805 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.4169, allocations: 63.91 kB / 0.8806 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.417, allocations: 60.42 kB / 0.8806 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.4171, allocations: 23.98 kB / 0.8807 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001171/0.4182, allocations: 0.6992 MB / 0.8813 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4183, allocations: 0 / 0.8813 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001706/0.42, allocations: 392.1 kB / 0.8817 GB, free: 5.621 MB / 0.7012 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002469/0.4202, allocations: 123.1 kB / 0.8818 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.4228, allocations: 1.723 MB / 0.8835 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4228, allocations: 0 / 0.8835 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009466/0.4237, allocations: 0.8589 MB / 0.8844 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.4251, allocations: 265.6 kB / 0.8846 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006071/0.4311, allocations: 3.776 MB / 0.8883 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/0.4329, allocations: 1.92 MB / 0.8902 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009946/0.4339, allocations: 449.6 kB / 0.8906 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.4341, allocations: 87.42 kB / 0.8907 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of SimCode: time 6.42e-07/0.4342, allocations: 0 / 0.8907 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.02676/0.4609, allocations: 13.27 MB / 0.9037 GB, free: 15.02 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)