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.0009482/0.0009485, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01003/0.01003, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.677/1.677, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.775/1.775, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005766/0.0005766, allocations: 17.31 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2688, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01726/0.2861, allocations: 15.37 MB / 0.8029 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008688/0.2949, allocations: 4.829 MB / 0.8076 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.2965, allocations: 55.69 kB / 0.8077 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.2975, allocations: 250.1 kB / 0.8079 GB, free: 7 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.3, allocations: 0.708 MB / 0.8086 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.3022, allocations: 0.6483 MB / 0.8092 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006364/0.3086, allocations: 5.264 MB / 0.8144 GB, free: 376 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008796/0.3174, allocations: 5.833 MB / 0.8201 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.3197, allocations: 1.105 MB / 0.8211 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.3225, allocations: 1.495 MB / 0.8226 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006411/0.3232, allocations: 140 kB / 0.8227 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.3253, allocations: 0.7409 MB / 0.8235 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.327, allocations: 1.068 MB / 0.8245 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.3296, allocations: 1.187 MB / 0.8257 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.3367, allocations: 4.887 MB / 0.8304 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3368, allocations: 3.938 kB / 0.8304 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3368, allocations: 4 kB / 0.8304 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001711/0.337, allocations: 0 / 0.8304 GB, free: 15.78 MB / 0.6544 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.006607/0.3436, allocations: 2.175 MB / 0.8326 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3436, allocations: 8.031 kB / 0.8326 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.3484, allocations: 0.8329 MB / 0.8334 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.3519, allocations: 1.501 MB / 0.8349 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.3521, allocations: 181.1 kB / 0.835 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008522/0.353, allocations: 244.3 kB / 0.8353 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009809/0.3628, allocations: 4.161 MB / 0.8393 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.526e-05/0.3629, allocations: 4 kB / 0.8393 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/0.3632, allocations: 104 kB / 0.8394 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/0.3634, allocations: 176.5 kB / 0.8396 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006155/0.3696, allocations: 3.636 MB / 0.8431 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.3882, allocations: 16.55 MB / 0.8593 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.3915, allocations: 2.304 MB / 0.8616 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.3923, allocations: 0.578 MB / 0.8621 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.3925, allocations: 93.66 kB / 0.8622 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.3925, allocations: 51.11 kB / 0.8623 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/0.3925, allocations: 0 / 0.8623 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.00659/0.3991, allocations: 3.459 MB / 0.8656 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.3993, allocations: 111.5 kB / 0.8657 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.401, allocations: 1.01 MB / 0.8667 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.401, allocations: 41.7 kB / 0.8668 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008387/0.4019, allocations: 1.099 MB / 0.8678 GB, free: 7.355 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.4022, allocations: 276.1 kB / 0.8681 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.4024, allocations: 113.7 kB / 0.8682 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.4026, allocations: 414.7 kB / 0.8686 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008987/0.4035, allocations: 0.6167 MB / 0.8692 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.4051, allocations: 1.197 MB / 0.8704 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/0.4077, allocations: 1.883 MB / 0.8722 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.4078, allocations: 4 kB / 0.8722 GB, free: 2.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003436/0.4112, allocations: 2.022 MB / 0.8742 GB, free: 284 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.4113, allocations: 14.66 kB / 0.8742 GB, free: 272 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.4113, allocations: 23.98 kB / 0.8742 GB, free: 248 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/0.4117, allocations: 163.2 kB / 0.8744 GB, free: 72 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4128, allocations: 355.7 kB / 0.8747 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.293e-05/0.4129, allocations: 35.86 kB / 0.8748 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.414, allocations: 135.7 kB / 0.8749 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.4141, allocations: 75.98 kB / 0.875 GB, free: 15.48 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.001648/0.4157, allocations: 0.9693 MB / 0.8759 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.416, allocations: 110.6 kB / 0.876 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.4181, allocations: 1.241 MB / 0.8772 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.4181, allocations: 11.94 kB / 0.8772 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4181, allocations: 0 / 0.8772 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4181, allocations: 3.984 kB / 0.8772 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005457/0.4236, allocations: 3.823 MB / 0.881 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4236, allocations: 0 / 0.881 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.4242, allocations: 164 kB / 0.8811 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.4246, allocations: 143.3 kB / 0.8813 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.4246, allocations: 16 kB / 0.8813 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.4246, allocations: 11.94 kB / 0.8813 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4246, allocations: 0 / 0.8813 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.4265, allocations: 1.48 MB / 0.8827 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.427, allocations: 287.7 kB / 0.883 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.4271, allocations: 23.94 kB / 0.883 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.4277, allocations: 67.91 kB / 0.8831 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4278, allocations: 64.36 kB / 0.8832 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.4279, allocations: 23.98 kB / 0.8832 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00099/0.4289, allocations: 0.6992 MB / 0.8839 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4289, allocations: 0 / 0.8839 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00155/0.4304, allocations: 388 kB / 0.8842 GB, free: 5.691 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.0002297/0.4307, allocations: 131 kB / 0.8844 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.4331, allocations: 1.727 MB / 0.8861 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4331, allocations: 128 / 0.8861 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009441/0.4341, allocations: 0.858 MB / 0.8869 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.4359, allocations: 258.9 kB / 0.8871 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007801/0.4437, allocations: 4.846 MB / 0.8919 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.446, allocations: 1.916 MB / 0.8937 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00133/0.4474, allocations: 449.4 kB / 0.8942 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.4477, allocations: 79.44 kB / 0.8942 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of SimCode: time 1.443e-06/0.4477, allocations: 0 / 0.8942 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of Templates: time 0.02928/0.477, allocations: 12.71 MB / 0.9067 GB, free: 14.58 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: