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.001124/0.001124, allocations: 104.9 kB / 16.36 MB, free: 6 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.001154/0.001153, allocations: 196.3 kB / 17.3 MB, free: 5.602 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.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.001751/0.001752, allocations: 63.91 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2373, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.4255/0.6629, allocations: 16.01 MB / 0.8004 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007705/0.6706, allocations: 4.851 MB / 0.8052 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.672, allocations: 62.62 kB / 0.8052 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.6748, allocations: 1.043 MB / 0.8062 GB, free: 37.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.6772, allocations: 0.7453 MB / 0.807 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.6798, allocations: 0.9087 MB / 0.8079 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005159/0.6849, allocations: 3.617 MB / 0.8114 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006643/0.6916, allocations: 4.793 MB / 0.8161 GB, free: 33.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.6951, allocations: 1.587 MB / 0.8176 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003692/0.6989, allocations: 1.779 MB / 0.8194 GB, free: 31.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000781/0.6997, allocations: 339.2 kB / 0.8197 GB, free: 31.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.7024, allocations: 0.8029 MB / 0.8205 GB, free: 31.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001785/0.7042, allocations: 1.324 MB / 0.8218 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.7065, allocations: 1.455 MB / 0.8232 GB, free: 30.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.7167, allocations: 5.137 MB / 0.8282 GB, free: 28.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.7168, allocations: 0 / 0.8282 GB, free: 28.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.457e-06/0.7168, allocations: 0 / 0.8282 GB, free: 28.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003076/0.7172, allocations: 4 kB / 0.8282 GB, free: 28.57 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.01025/0.7274, allocations: 2.643 MB / 0.8308 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.7275, allocations: 13.56 kB / 0.8308 GB, free: 27.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/0.7324, allocations: 0.8338 MB / 0.8316 GB, free: 26.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/0.7365, allocations: 1.5 MB / 0.8331 GB, free: 26.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.7367, allocations: 176 kB / 0.8332 GB, free: 25.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.7378, allocations: 234.3 kB / 0.8335 GB, free: 25.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009662/0.7474, allocations: 4.162 MB / 0.8375 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.458e-05/0.7475, allocations: 7.531 kB / 0.8375 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.7479, allocations: 97.91 kB / 0.8376 GB, free: 24.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/0.7481, allocations: 173.8 kB / 0.8378 GB, free: 24.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007328/0.7555, allocations: 3.632 MB / 0.8413 GB, free: 22.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/0.7748, allocations: 16.42 MB / 0.8574 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.7781, allocations: 2.295 MB / 0.8596 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008207/0.7789, allocations: 0.5804 MB / 0.8602 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.7791, allocations: 98.03 kB / 0.8603 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.7791, allocations: 51.42 kB / 0.8603 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/0.7791, allocations: 0 / 0.8603 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.005794/0.7849, allocations: 3.429 MB / 0.8637 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.785, allocations: 111.9 kB / 0.8638 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.7864, allocations: 1.012 MB / 0.8648 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.7865, allocations: 41.08 kB / 0.8648 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000537/0.787, allocations: 1.102 MB / 0.8659 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.7872, allocations: 270.9 kB / 0.8661 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.7875, allocations: 277 kB / 0.8664 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7877, allocations: 416.2 kB / 0.8668 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/0.7886, allocations: 0.6162 MB / 0.8674 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.7898, allocations: 1.193 MB / 0.8686 GB, free: 116 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.7925, allocations: 1.864 MB / 0.8704 GB, free: 14.65 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.7926, allocations: 6.875 kB / 0.8704 GB, free: 14.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003499/0.7961, allocations: 2.011 MB / 0.8724 GB, free: 13.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.7961, allocations: 17.75 kB / 0.8724 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/0.7962, allocations: 19.25 kB / 0.8724 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.7967, allocations: 159 kB / 0.8726 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.798, allocations: 347.2 kB / 0.8729 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.911e-05/0.7981, allocations: 40.02 kB / 0.8729 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.7993, allocations: 129.2 kB / 0.873 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.7994, allocations: 73.16 kB / 0.8731 GB, free: 13.32 MB / 0.67 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.001753/0.8012, allocations: 0.9731 MB / 0.8741 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.8015, allocations: 118.7 kB / 0.8742 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.8037, allocations: 1.23 MB / 0.8754 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.8038, allocations: 11.94 kB / 0.8754 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.8038, allocations: 4 kB / 0.8754 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.8038, allocations: 4.734 kB / 0.8754 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006506/0.8103, allocations: 3.798 MB / 0.8791 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.8104, allocations: 256 / 0.8791 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.811, allocations: 163.8 kB / 0.8793 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/0.8114, allocations: 135.3 kB / 0.8794 GB, free: 6.805 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.8114, allocations: 20 kB / 0.8794 GB, free: 6.785 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.2e-05/0.8115, allocations: 11.92 kB / 0.8794 GB, free: 6.773 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.8115, allocations: 7.938 kB / 0.8794 GB, free: 6.766 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.8136, allocations: 1.463 MB / 0.8809 GB, free: 5.25 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/0.8142, allocations: 275.6 kB / 0.8811 GB, free: 4.961 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.8143, allocations: 15.98 kB / 0.8811 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.815, allocations: 67.91 kB / 0.8812 GB, free: 4.879 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.8151, allocations: 60.42 kB / 0.8813 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.8152, allocations: 24 kB / 0.8813 GB, free: 4.797 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009903/0.8162, allocations: 0.6914 MB / 0.882 GB, free: 4.094 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8162, allocations: 0 / 0.882 GB, free: 4.094 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001691/0.8179, allocations: 392 kB / 0.8823 GB, free: 3.711 MB / 0.67 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.0002024/0.8181, allocations: 131.1 kB / 0.8825 GB, free: 3.574 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.8204, allocations: 1.727 MB / 0.8841 GB, free: 1.762 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8204, allocations: 0 / 0.8841 GB, free: 1.762 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009279/0.8213, allocations: 0.858 MB / 0.885 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.8228, allocations: 279.9 kB / 0.8852 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/0.829, allocations: 3.76 MB / 0.8889 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/0.8309, allocations: 1.92 MB / 0.8908 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001097/0.832, allocations: 449.6 kB / 0.8912 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.8322, allocations: 83.42 kB / 0.8913 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of SimCode: time 9.91e-07/0.8322, allocations: 0 / 0.8913 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of Templates: time 0.02441/0.8566, allocations: 13.28 MB / 0.9043 GB, free: 13.15 MB / 0.7012 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)