Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002171/0.002171, allocations: 192.2 kB / 16.13 MB, free: 6.711 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.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.963/2.963, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 69.61 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3922, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005326/0.3976, allocations: 3.592 MB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.4008, allocations: 1.913 MB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.401, allocations: 7.938 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.4019, allocations: 219.2 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.4024, allocations: 203.2 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.4031, allocations: 219.5 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006005/0.4037, allocations: 0.4944 MB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.4043, allocations: 221.7 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.4046, allocations: 135.5 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.4049, allocations: 191.3 kB / 1.075 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.405, allocations: 16 kB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006287/0.4056, allocations: 339.3 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.4058, allocations: 87.72 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.406, allocations: 131.3 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.4067, allocations: 0.4948 MB / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.4067, allocations: 0 / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4067, allocations: 4 kB / 1.076 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.4067, allocations: 0 / 1.076 GB, free: 2.672 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001575/0.4083, allocations: 0.6332 MB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.281e-05/0.4084, allocations: 12.03 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4094, allocations: 120.4 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.4098, allocations: 277.6 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.4098, allocations: 16.8 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.4099, allocations: 28.36 kB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/0.4107, allocations: 422.9 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.4108, allocations: 0 / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.4108, allocations: 15.98 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.4109, allocations: 20.36 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.4118, allocations: 400.8 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.4138, allocations: 1.63 MB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.4151, allocations: 488.4 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/0.4155, allocations: 201.6 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.4157, allocations: 89.08 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005909/0.4163, allocations: 274.5 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=27): time 2.324e-06/0.4163, allocations: 0 / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.002025/0.4183, allocations: 0.7645 MB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.4184, allocations: 81.11 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.4186, allocations: 225 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4187, allocations: 29.7 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.4188, allocations: 172.5 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.4189, allocations: 98.64 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.419, allocations: 65.62 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4192, allocations: 334.8 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.4196, allocations: 184.8 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.4201, allocations: 253.3 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.4211, allocations: 460.2 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4211, allocations: 0 / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001207/0.4223, allocations: 0.5474 MB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.4224, allocations: 37.98 kB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4224, allocations: 7.984 kB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002658/0.4226, allocations: 44.81 kB / 1.083 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.4231, allocations: 83.86 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.4246, allocations: 1.489 MB / 1.085 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.4249, allocations: 47.78 kB / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.425, allocations: 16 kB / 1.085 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005401/0.4255, allocations: 284.4 kB / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004575/0.426, allocations: 250.2 kB / 1.085 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008685/0.4269, allocations: 448.5 kB / 1.086 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.4269, allocations: 0 / 1.086 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001133/0.428, allocations: 0.5241 MB / 1.086 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.4281, allocations: 33.7 kB / 1.086 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4281, allocations: 11.88 kB / 1.086 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.4282, allocations: 36.83 kB / 1.086 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.4286, allocations: 84.11 kB / 1.086 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.4299, allocations: 1.505 MB / 1.088 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.4303, allocations: 51.8 kB / 1.088 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.4303, allocations: 16 kB / 1.088 GB, free: 5.117 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.4305, allocations: 204.1 kB / 1.088 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.4306, allocations: 23.72 kB / 1.088 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.4317, allocations: 473.2 kB / 1.089 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4317, allocations: 4 kB / 1.089 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4317, allocations: 3.938 kB / 1.089 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.4318, allocations: 11.92 kB / 1.089 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.4324, allocations: 0.5545 MB / 1.089 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4325, allocations: 3.938 kB / 1.089 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.4328, allocations: 83.94 kB / 1.089 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.433, allocations: 40.86 kB / 1.089 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.433, allocations: 7.938 kB / 1.089 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.4341, allocations: 1.413 MB / 1.091 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4341, allocations: 0 / 1.091 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009775/0.4351, allocations: 0.5459 MB / 1.091 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.4352, allocations: 132.7 kB / 1.091 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.4353, allocations: 8 kB / 1.091 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.4356, allocations: 35.95 kB / 1.091 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4357, allocations: 35.89 kB / 1.091 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.4358, allocations: 12 kB / 1.091 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002093/0.436, allocations: 180.5 kB / 1.092 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.436, allocations: 0 / 1.092 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006173/0.4366, allocations: 128 kB / 1.092 GB, free: 0.9766 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001805/0.4368, allocations: 107.2 kB / 1.092 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.4388, allocations: 0.9886 MB / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4388, allocations: 0 / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.4394, allocations: 334.7 kB / 1.093 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.4399, allocations: 49.09 kB / 1.093 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.4411, allocations: 0.7122 MB / 1.094 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.4415, allocations: 0.7878 MB / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.4418, allocations: 98.33 kB / 1.095 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4419, allocations: 31.42 kB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.442, allocations: 0 / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of Templates: time 0.008618/0.4506, allocations: 4.48 MB / 1.099 GB, free: 9.328 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)