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.001397/0.001397, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001361/0.001361, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.404/1.404, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.734/1.734, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001557/0.001558, allocations: 72.31 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2109, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.37/0.581, allocations: 16.01 MB / 0.7997 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007294/0.5883, allocations: 4.851 MB / 0.8044 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.59, allocations: 64.19 kB / 0.8045 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.5929, allocations: 1.044 MB / 0.8055 GB, free: 37.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.5951, allocations: 0.7424 MB / 0.8062 GB, free: 37.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.5979, allocations: 0.9116 MB / 0.8071 GB, free: 37.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005128/0.603, allocations: 3.614 MB / 0.8106 GB, free: 35.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006679/0.6097, allocations: 4.811 MB / 0.8153 GB, free: 33.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.613, allocations: 1.574 MB / 0.8169 GB, free: 33 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.6162, allocations: 1.781 MB / 0.8186 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009942/0.6172, allocations: 339.2 kB / 0.8189 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.6197, allocations: 0.7973 MB / 0.8197 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.6218, allocations: 1.319 MB / 0.821 GB, free: 31.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002795/0.6246, allocations: 1.455 MB / 0.8224 GB, free: 30.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007923/0.6325, allocations: 5.101 MB / 0.8274 GB, free: 28.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6326, allocations: 0.8438 kB / 0.8274 GB, free: 28.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6326, allocations: 0 / 0.8274 GB, free: 28.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001727/0.6328, allocations: 0 / 0.8274 GB, free: 28.96 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.008306/0.6411, allocations: 2.639 MB / 0.83 GB, free: 27.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6412, allocations: 12.84 kB / 0.83 GB, free: 27.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/0.646, allocations: 0.8368 MB / 0.8308 GB, free: 27.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/0.6499, allocations: 1.503 MB / 0.8323 GB, free: 26.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.6501, allocations: 176.8 kB / 0.8324 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000928/0.651, allocations: 239.1 kB / 0.8327 GB, free: 26.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.6617, allocations: 4.163 MB / 0.8367 GB, free: 24.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-05/0.6619, allocations: 10.72 kB / 0.8367 GB, free: 24.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004508/0.6623, allocations: 97.23 kB / 0.8368 GB, free: 24.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000238/0.6626, allocations: 166.1 kB / 0.837 GB, free: 24.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/0.6707, allocations: 3.633 MB / 0.8405 GB, free: 23.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.6906, allocations: 16.55 MB / 0.8567 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.6938, allocations: 2.298 MB / 0.8589 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008841/0.6947, allocations: 0.5782 MB / 0.8595 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.6948, allocations: 97.17 kB / 0.8596 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.6949, allocations: 47.44 kB / 0.8597 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 3.407e-06/0.6949, allocations: 0 / 0.8597 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.006867/0.7018, allocations: 3.433 MB / 0.863 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.7019, allocations: 111.9 kB / 0.8631 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.7033, allocations: 1.012 MB / 0.8641 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.7033, allocations: 36.55 kB / 0.8641 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.7038, allocations: 1.109 MB / 0.8652 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.704, allocations: 277.6 kB / 0.8655 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.7044, allocations: 277.2 kB / 0.8657 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7045, allocations: 407.5 kB / 0.8661 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008582/0.7054, allocations: 0.6169 MB / 0.8667 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.7065, allocations: 1.186 MB / 0.8679 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.7089, allocations: 1.87 MB / 0.8697 GB, free: 15.12 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.709, allocations: 7.375 kB / 0.8697 GB, free: 15.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003435/0.7124, allocations: 2.02 MB / 0.8717 GB, free: 14.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.7125, allocations: 12.81 kB / 0.8717 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/0.7125, allocations: 19.91 kB / 0.8717 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.7129, allocations: 171.2 kB / 0.8719 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.714, allocations: 338.8 kB / 0.8722 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-05/0.7141, allocations: 39.36 kB / 0.8723 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.7152, allocations: 129.5 kB / 0.8724 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7154, allocations: 71.72 kB / 0.8724 GB, free: 13.79 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.001809/0.7172, allocations: 0.9768 MB / 0.8734 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.7175, allocations: 110.6 kB / 0.8735 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.7197, allocations: 1.226 MB / 0.8747 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.7197, allocations: 15.94 kB / 0.8747 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.7197, allocations: 4 kB / 0.8747 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.7198, allocations: 3.984 kB / 0.8747 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007166/0.7269, allocations: 3.807 MB / 0.8784 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.727, allocations: 0 / 0.8784 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.7277, allocations: 151.8 kB / 0.8786 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.7281, allocations: 143.3 kB / 0.8787 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/0.7282, allocations: 24.14 kB / 0.8788 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.7282, allocations: 11.94 kB / 0.8788 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.7283, allocations: 4.75 kB / 0.8788 GB, free: 7.328 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.7305, allocations: 1.464 MB / 0.8802 GB, free: 5.812 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006839/0.7312, allocations: 275.8 kB / 0.8805 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/0.7315, allocations: 15.91 kB / 0.8805 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.7324, allocations: 67.91 kB / 0.8805 GB, free: 5.438 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.7326, allocations: 56.36 kB / 0.8806 GB, free: 5.383 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/0.7326, allocations: 31.94 kB / 0.8806 GB, free: 5.352 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00128/0.7339, allocations: 0.6953 MB / 0.8813 GB, free: 4.645 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7339, allocations: 2.25 kB / 0.8813 GB, free: 4.645 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002259/0.7362, allocations: 392 kB / 0.8817 GB, free: 4.262 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.0002708/0.7365, allocations: 123.1 kB / 0.8818 GB, free: 4.133 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003558/0.74, allocations: 2.019 MB / 0.8838 GB, free: 2.027 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7401, allocations: 0 / 0.8838 GB, free: 2.027 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.7412, allocations: 0.8642 MB / 0.8846 GB, free: 1.074 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.7432, allocations: 271.4 kB / 0.8849 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008763/0.752, allocations: 4.184 MB / 0.889 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/0.7546, allocations: 1.959 MB / 0.8909 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.755, allocations: 95.42 kB / 0.891 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of SimCode: time 1.082e-06/0.755, allocations: 0 / 0.891 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of Templates: time 0.08244/0.8375, allocations: 73.29 MB / 0.9625 GB, free: 1.211 MB / 0.7481 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)