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.001186/0.001186, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001234/0.001234, allocations: 187.8 kB / 16.25 MB, free: 6.629 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.564/1.564, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.688/1.688, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001311/0.001311, allocations: 65.03 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 114.5 MB / 0.7829 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01751/0.2996, allocations: 15.91 MB / 0.7984 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008121/0.3077, allocations: 4.821 MB / 0.8031 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.3094, allocations: 59.69 kB / 0.8032 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.312, allocations: 0.9698 MB / 0.8041 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.3146, allocations: 0.6807 MB / 0.8048 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.3173, allocations: 0.8411 MB / 0.8056 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004518/0.3218, allocations: 3.63 MB / 0.8091 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008289/0.3301, allocations: 5.83 MB / 0.8148 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/0.3331, allocations: 1.601 MB / 0.8164 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.3356, allocations: 1.866 MB / 0.8182 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004638/0.3361, allocations: 343.9 kB / 0.8185 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.3376, allocations: 0.7958 MB / 0.8193 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.3388, allocations: 1.326 MB / 0.8206 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.3403, allocations: 1.451 MB / 0.822 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.3449, allocations: 5.142 MB / 0.8271 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3449, allocations: 0 / 0.8271 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3449, allocations: 0 / 0.8271 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.639e-05/0.345, allocations: 7.938 kB / 0.8271 GB, free: 496 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.004719/0.3497, allocations: 2.643 MB / 0.8296 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3498, allocations: 12.03 kB / 0.8297 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/0.3537, allocations: 0.829 MB / 0.8305 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.3562, allocations: 1.505 MB / 0.8319 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.3563, allocations: 177.1 kB / 0.8321 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/0.3567, allocations: 232.3 kB / 0.8323 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007712/0.3645, allocations: 4.158 MB / 0.8364 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.82e-05/0.3646, allocations: 4 kB / 0.8364 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.3649, allocations: 108 kB / 0.8365 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/0.3651, allocations: 168.5 kB / 0.8367 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006486/0.3716, allocations: 3.632 MB / 0.8402 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02234/0.394, allocations: 16.54 MB / 0.8564 GB, free: 0.793 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.3974, allocations: 2.3 MB / 0.8586 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009186/0.3984, allocations: 0.578 MB / 0.8592 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.3985, allocations: 97.64 kB / 0.8593 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3986, allocations: 39.12 kB / 0.8593 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.305e-06/0.3986, allocations: 4 kB / 0.8593 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.005618/0.4042, allocations: 3.432 MB / 0.8626 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4043, allocations: 115.4 kB / 0.8628 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.4056, allocations: 1.014 MB / 0.8637 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.4056, allocations: 37.7 kB / 0.8638 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006583/0.4063, allocations: 1.111 MB / 0.8649 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.4065, allocations: 272.2 kB / 0.8651 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.4069, allocations: 283.2 kB / 0.8654 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.407, allocations: 406.7 kB / 0.8658 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009035/0.408, allocations: 0.6167 MB / 0.8664 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.4094, allocations: 1.189 MB / 0.8676 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.4115, allocations: 1.868 MB / 0.8694 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.4115, allocations: 4 kB / 0.8694 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002953/0.4144, allocations: 2.014 MB / 0.8713 GB, free: 452 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.4145, allocations: 16 kB / 0.8714 GB, free: 436 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.4145, allocations: 16 kB / 0.8714 GB, free: 420 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/0.415, allocations: 167.8 kB / 0.8715 GB, free: 240 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4161, allocations: 343.4 kB / 0.8719 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.639e-05/0.4161, allocations: 39.86 kB / 0.8719 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.4172, allocations: 135.7 kB / 0.872 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4173, allocations: 71.98 kB / 0.8721 GB, free: 15.66 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.002111/0.4194, allocations: 0.973 MB / 0.8731 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.4198, allocations: 110.8 kB / 0.8732 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.422, allocations: 1.23 MB / 0.8744 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.422, allocations: 11.94 kB / 0.8744 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.4221, allocations: 4 kB / 0.8744 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4221, allocations: 3.984 kB / 0.8744 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006128/0.4282, allocations: 3.811 MB / 0.8781 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4282, allocations: 0 / 0.8781 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.4288, allocations: 159.8 kB / 0.8783 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.4292, allocations: 151.5 kB / 0.8784 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.4292, allocations: 16 kB / 0.8784 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.4293, allocations: 7.938 kB / 0.8784 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.4293, allocations: 4 kB / 0.8784 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.4311, allocations: 1.468 MB / 0.8799 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.4316, allocations: 271.8 kB / 0.8801 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.4317, allocations: 15.94 kB / 0.8801 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.4323, allocations: 75.89 kB / 0.8802 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.4324, allocations: 60.36 kB / 0.8803 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.4325, allocations: 32 kB / 0.8803 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009425/0.4334, allocations: 0.6953 MB / 0.881 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4334, allocations: 0 / 0.881 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001808/0.4352, allocations: 388 kB / 0.8813 GB, free: 5.91 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.0002845/0.4355, allocations: 119.1 kB / 0.8815 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003053/0.4386, allocations: 2.019 MB / 0.8834 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4386, allocations: 0.875 kB / 0.8834 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009171/0.4395, allocations: 0.8699 MB / 0.8843 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.441, allocations: 257.1 kB / 0.8845 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.4479, allocations: 4.819 MB / 0.8892 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/0.4499, allocations: 1.92 MB / 0.8911 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001305/0.4513, allocations: 441.6 kB / 0.8915 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.4515, allocations: 83.42 kB / 0.8916 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.4515, allocations: 0 / 0.8916 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of Templates: time 0.03112/0.4826, allocations: 13.31 MB / 0.9046 GB, free: 13.94 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)