Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001564, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001718/0.001718, allocations: 191.2 kB / 16.14 MB, free: 6.688 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 61.86 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3891, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.00495/0.3941, allocations: 2.68 MB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.3968, allocations: 1.593 MB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.397, allocations: 3.938 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.3977, allocations: 167.5 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.3981, allocations: 139.5 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.3987, allocations: 159.6 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.3991, allocations: 319.1 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.3995, allocations: 129 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3997, allocations: 71.7 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.4, allocations: 107.6 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.4, allocations: 12 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.4005, allocations: 247.5 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.4006, allocations: 59.8 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.4007, allocations: 83.59 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.4012, allocations: 303.4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4012, allocations: 4 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4012, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.4012, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007971/0.402, allocations: 479.1 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4021, allocations: 12.03 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.4029, allocations: 92.58 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.4032, allocations: 228 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4032, allocations: 12.66 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.4033, allocations: 12.38 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.4038, allocations: 299.5 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4038, allocations: 3.938 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.4038, allocations: 8 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/0.4039, allocations: 20.22 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.4044, allocations: 216.4 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.4064, allocations: 1.607 MB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.4068, allocations: 307.3 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4069, allocations: 65.67 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.407, allocations: 4 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.407, allocations: 38.5 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.407, allocations: 4 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.000595/0.4076, allocations: 240.6 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4077, allocations: 77.11 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.4079, allocations: 207.4 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.408, allocations: 29.7 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4081, allocations: 151.8 kB / 1.077 GB, free: 472 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.4081, allocations: 35.45 kB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.4082, allocations: 61.81 kB / 1.077 GB, free: 368 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4083, allocations: 322.8 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.4085, allocations: 84.83 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.4088, allocations: 161 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.4091, allocations: 242.8 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4092, allocations: 0 / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005178/0.4097, allocations: 265.2 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4097, allocations: 4.375 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4097, allocations: 8.469 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4098, allocations: 7.938 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.41, allocations: 60.02 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4101, allocations: 7.938 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.4103, allocations: 27.91 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.4104, allocations: 12 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002108/0.4106, allocations: 164.1 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002003/0.4108, allocations: 169 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002981/0.4111, allocations: 215.8 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.4111, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004682/0.4116, allocations: 257 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4116, allocations: 8 kB / 1.079 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4116, allocations: 4 kB / 1.079 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.4116, allocations: 7.984 kB / 1.079 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.4119, allocations: 52.25 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.4119, allocations: 11.94 kB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.4121, allocations: 19.98 kB / 1.079 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.4121, allocations: 8 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.4123, allocations: 200.1 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.4123, allocations: 19.8 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.4126, allocations: 146.9 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.4126, allocations: 7.938 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4126, allocations: 3.938 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.4126, allocations: 4 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4137, allocations: 0.7157 MB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4137, allocations: 4 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4138, allocations: 23.98 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4138, allocations: 4 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4138, allocations: 0 / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.4138, allocations: 11.92 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4139, allocations: 4 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.4142, allocations: 382.6 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.4143, allocations: 108.9 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.4144, allocations: 7.984 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.4146, allocations: 11.98 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.4147, allocations: 15.88 kB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.4147, allocations: 8 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001768/0.4149, allocations: 161.1 kB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4149, allocations: 0 / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005401/0.4154, allocations: 72 kB / 1.081 GB, free: 12.04 MB / 0.8419 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.4156, allocations: 103.2 kB / 1.081 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005547/0.4161, allocations: 288 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4162, allocations: 1.562 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.4163, allocations: 52.47 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.4168, allocations: 40.78 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007656/0.4175, allocations: 491 kB / 1.082 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.4179, allocations: 0.7323 MB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002665/0.4182, allocations: 81.47 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.4182, allocations: 23.38 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.4182, allocations: 0 / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.004872/0.4231, allocations: 1.815 MB / 1.085 GB, free: 8.375 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)