Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008526/0.0008529, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006682/0.006683, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 11.38 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3698, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006464/0.3763, allocations: 4.523 MB / 1.079 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004844/0.3812, allocations: 2.471 MB / 1.081 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006368/0.3818, allocations: 27.75 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.3823, allocations: 83.22 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.3839, allocations: 418 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.385, allocations: 367.3 kB / 1.082 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001566/0.3866, allocations: 1.128 MB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000953/0.3875, allocations: 468.2 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006989/0.3883, allocations: 294.6 kB / 1.084 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.3889, allocations: 330.5 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.112e-05/0.3891, allocations: 23.94 kB / 1.084 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009988/0.3901, allocations: 498.9 kB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.3903, allocations: 159.4 kB / 1.085 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.3908, allocations: 323.9 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.3923, allocations: 0.8876 MB / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3924, allocations: 0 / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3924, allocations: 0 / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.183e-05/0.3924, allocations: 0 / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001853/0.3943, allocations: 0.8296 MB / 1.087 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3943, allocations: 16.03 kB / 1.087 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.3959, allocations: 207.7 kB / 1.087 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.397, allocations: 0.4944 MB / 1.087 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.3971, allocations: 33.36 kB / 1.087 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3972, allocations: 48.36 kB / 1.087 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.3985, allocations: 0.8524 MB / 1.088 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.3986, allocations: 3.938 kB / 1.088 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/0.3987, allocations: 23.98 kB / 1.088 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.3988, allocations: 72.89 kB / 1.088 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.3998, allocations: 0.5617 MB / 1.089 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.4056, allocations: 5.658 MB / 1.094 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.4063, allocations: 454.3 kB / 1.095 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.4067, allocations: 224.7 kB / 1.095 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.4067, allocations: 4 kB / 1.095 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.4067, allocations: 34.56 kB / 1.095 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.535e-06/0.4068, allocations: 0 / 1.095 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002988/0.4097, allocations: 1.532 MB / 1.097 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.4098, allocations: 55.69 kB / 1.097 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/0.4104, allocations: 0.5029 MB / 1.097 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.4105, allocations: 29.7 kB / 1.097 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.4108, allocations: 354.8 kB / 1.097 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4109, allocations: 118.3 kB / 1.098 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.411, allocations: 49.69 kB / 1.098 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4112, allocations: 370.8 kB / 1.098 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.4115, allocations: 197.2 kB / 1.098 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.412, allocations: 443.3 kB / 1.099 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.4129, allocations: 0.6952 MB / 1.099 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4129, allocations: 0 / 1.099 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001565/0.4144, allocations: 0.8169 MB / 1.1 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4145, allocations: 8 kB / 1.1 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4145, allocations: 8 kB / 1.1 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/0.415, allocations: 164.8 kB / 1.1 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4155, allocations: 111.8 kB / 1.1 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.4189, allocations: 4.052 MB / 1.104 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.4194, allocations: 35.97 kB / 1.104 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.4194, allocations: 24 kB / 1.104 GB, free: 7.035 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.4198, allocations: 223.4 kB / 1.105 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.4199, allocations: 59.25 kB / 1.105 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.421, allocations: 0.6008 MB / 1.105 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.421, allocations: 4 kB / 1.105 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.421, allocations: 0 / 1.105 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4211, allocations: 3.938 kB / 1.105 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.4229, allocations: 1.265 MB / 1.106 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.4229, allocations: 4.219 kB / 1.106 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.4232, allocations: 51.95 kB / 1.107 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.4236, allocations: 148.1 kB / 1.107 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.4236, allocations: 4 kB / 1.107 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.4267, allocations: 4.029 MB / 1.111 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.4267, allocations: 7.969 kB / 1.111 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4277, allocations: 0.6999 MB / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.428, allocations: 180.3 kB / 1.111 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.428, allocations: 11.94 kB / 1.111 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.4283, allocations: 19.97 kB / 1.111 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.4284, allocations: 27.97 kB / 1.112 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.4284, allocations: 8 kB / 1.112 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003595/0.4288, allocations: 338.8 kB / 1.112 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4288, allocations: 0 / 1.112 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000658/0.4295, allocations: 148 kB / 1.112 GB, free: 14.62 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.4296, allocations: 107.2 kB / 1.112 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.431, allocations: 1.033 MB / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.431, allocations: 4.125 kB / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008236/0.4319, allocations: 0.7341 MB / 1.114 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.433, allocations: 195.7 kB / 1.114 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4347, allocations: 1.285 MB / 1.115 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.4353, allocations: 0.9136 MB / 1.116 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000346/0.4357, allocations: 121.3 kB / 1.116 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.4358, allocations: 39.44 kB / 1.116 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of SimCode: time 4.3e-07/0.4358, allocations: 0 / 1.116 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of Templates: time 0.01488/0.4506, allocations: 7.279 MB / 1.123 GB, free: 2.754 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)