Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.4 MB / 303.7 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 190.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008962/0.0008959, allocations: 98.28 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 19.77 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2251, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003585/0.2288, allocations: 3.11 MB / 0.9832 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.2314, allocations: 1.646 MB / 0.9848 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.2317, allocations: 3.938 kB / 0.9848 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.2319, allocations: 31.72 kB / 0.9848 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.2325, allocations: 183.2 kB / 0.985 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006985/0.2332, allocations: 207.5 kB / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.2337, allocations: 426.6 kB / 0.9856 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/0.2345, allocations: 417 kB / 0.986 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.2348, allocations: 123.5 kB / 0.9861 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.2351, allocations: 167.4 kB / 0.9863 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.2351, allocations: 16 kB / 0.9863 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.2356, allocations: 291.4 kB / 0.9866 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.2357, allocations: 87.69 kB / 0.9866 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2358, allocations: 145.1 kB / 0.9868 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.2361, allocations: 359 kB / 0.9871 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2361, allocations: 0 / 0.9871 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2361, allocations: 0 / 0.9871 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2361, allocations: 0 / 0.9871 GB, free: 20.12 MB / 0.6198 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.0009852/0.2371, allocations: 0.5981 MB / 0.9877 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2372, allocations: 12.03 kB / 0.9877 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.2378, allocations: 100.5 kB / 0.9878 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.2381, allocations: 279.5 kB / 0.9881 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2382, allocations: 16.81 kB / 0.9881 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.2382, allocations: 16.38 kB / 0.9881 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.2389, allocations: 434.9 kB / 0.9885 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2389, allocations: 3.938 kB / 0.9885 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.239, allocations: 12 kB / 0.9885 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.239, allocations: 20.36 kB / 0.9886 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.2398, allocations: 420.7 kB / 0.989 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.2413, allocations: 1.615 MB / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2423, allocations: 485.1 kB / 0.991 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.2427, allocations: 205.6 kB / 0.9912 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.2428, allocations: 85.09 kB / 0.9913 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.2433, allocations: 284.3 kB / 0.9916 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.2433, allocations: 7.875 kB / 0.9916 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001673/0.245, allocations: 0.7806 MB / 0.9923 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.245, allocations: 85.3 kB / 0.9924 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.2452, allocations: 221 kB / 0.9926 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2452, allocations: 33.7 kB / 0.9927 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.2453, allocations: 168.3 kB / 0.9928 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.2454, allocations: 90.66 kB / 0.9929 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.2454, allocations: 12 kB / 0.9929 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.2455, allocations: 330.8 kB / 0.9932 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.2458, allocations: 180.2 kB / 0.9934 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.2462, allocations: 261.3 kB / 0.9936 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/0.247, allocations: 482.9 kB / 0.9941 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.247, allocations: 0 / 0.9941 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009866/0.248, allocations: 0.5631 MB / 0.9947 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/0.2481, allocations: 178.4 kB / 0.9948 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2481, allocations: 4 kB / 0.9948 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.2483, allocations: 44.81 kB / 0.9949 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.2487, allocations: 87.86 kB / 0.995 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.2498, allocations: 1.497 MB / 0.9964 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.2501, allocations: 59.86 kB / 0.9965 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.2502, allocations: 11.98 kB / 0.9965 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/0.2502, allocations: 4 kB / 0.9965 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009066/0.2511, allocations: 0.4982 MB / 0.997 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2511, allocations: 0 / 0.997 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.2512, allocations: 40.83 kB / 0.997 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.2516, allocations: 99.95 kB / 0.9971 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008634/0.2525, allocations: 1.473 MB / 0.9985 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.2528, allocations: 59.8 kB / 0.9986 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.2528, allocations: 15.98 kB / 0.9986 GB, free: 7.543 MB / 0.6198 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 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.253, allocations: 237.9 kB / 0.9988 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.2531, allocations: 27.66 kB / 0.9989 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009119/0.254, allocations: 489.7 kB / 0.9993 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.254, allocations: 4 kB / 0.9993 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.254, allocations: 3.938 kB / 0.9993 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.254, allocations: 7.984 kB / 0.9994 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.2545, allocations: 0.5699 MB / 0.9999 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2546, allocations: 3.938 kB / 0.9999 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.2549, allocations: 79.86 kB / 1 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.2551, allocations: 40.98 kB / 1 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.2551, allocations: 12 kB / 1 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008001/0.2559, allocations: 1.409 MB / 1.001 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2559, allocations: 4.031 kB / 1.001 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.2568, allocations: 0.5655 MB / 1.002 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2569, allocations: 136.8 kB / 1.002 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.257, allocations: 11.98 kB / 1.002 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.2573, allocations: 39.95 kB / 1.002 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2574, allocations: 31.94 kB / 1.002 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.2574, allocations: 12 kB / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001257/0.2575, allocations: 172.5 kB / 1.002 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2575, allocations: 0 / 1.002 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005757/0.2581, allocations: 131.9 kB / 1.002 GB, free: 3.32 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001707/0.2583, allocations: 115.2 kB / 1.003 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.26, allocations: 1.008 MB / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.26, allocations: 0 / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.2606, allocations: 338.8 kB / 1.004 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.261, allocations: 45.16 kB / 1.004 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2621, allocations: 0.7531 MB / 1.005 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2623, allocations: 0.7839 MB / 1.005 GB, free: 160 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002751/0.2626, allocations: 94.2 kB / 1.006 GB, free: 68 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.2627, allocations: 31.42 kB / 1.006 GB, free: 36 kB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2627, allocations: 0 / 1.006 GB, free: 36 kB / 0.6198 GB Notification: Performance of Templates: time 0.008154/0.2708, allocations: 4.055 MB / 1.01 GB, free: 12.03 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)