Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.716/1.716, allocations: 288.3 MB / 303.2 MB, free: 8.266 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.001211/0.001211, allocations: 183.4 kB / 371.8 MB, free: 10.28 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.896/1.896, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.0008306/0.0008305, allocations: 103.8 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 15.27 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004695/0.2427, allocations: 2.553 MB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00385/0.2466, allocations: 1.626 MB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.2468, allocations: 7.938 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.247, allocations: 27.77 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000585/0.2476, allocations: 147.5 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.2484, allocations: 183.5 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.2488, allocations: 219.6 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/0.2498, allocations: 374.5 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.25, allocations: 123.6 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.2503, allocations: 131.5 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.2504, allocations: 12 kB / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.2507, allocations: 131.8 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2509, allocations: 75.73 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.9e-05/0.251, allocations: 73.58 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.2515, allocations: 347.3 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2515, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2515, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2515, allocations: 0 / 0.9853 GB, free: 21.64 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.001539/0.2531, allocations: 0.6019 MB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2532, allocations: 16.02 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.2545, allocations: 107.5 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.255, allocations: 266.6 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.255, allocations: 16.42 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.2551, allocations: 23.98 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2563, allocations: 426.5 kB / 0.9867 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.2564, allocations: 3.984 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.2565, allocations: 8 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.215e-05/0.2565, allocations: 24.36 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.2581, allocations: 424.4 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.2606, allocations: 1.611 MB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.2622, allocations: 0.4894 MB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.2624, allocations: 89.06 kB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000762/0.2632, allocations: 276.4 kB / 0.9895 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 4.599e-06/0.2632, allocations: 7.938 kB / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002752/0.266, allocations: 0.7774 MB / 0.9903 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.266, allocations: 81.11 kB / 0.9904 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.2663, allocations: 225 kB / 0.9906 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.2664, allocations: 29.7 kB / 0.9906 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2665, allocations: 168.3 kB / 0.9908 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.2666, allocations: 90.73 kB / 0.9909 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.2667, allocations: 4 kB / 0.9909 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.2668, allocations: 338.8 kB / 0.9912 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/0.2675, allocations: 188.2 kB / 0.9914 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/0.2682, allocations: 261 kB / 0.9916 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.2689, allocations: 230.3 kB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2689, allocations: 0 / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001789/0.2707, allocations: 0.5594 MB / 0.9924 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002511/0.271, allocations: 0.902 MB / 0.9933 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.271, allocations: 4 kB / 0.9933 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.2714, allocations: 44.81 kB / 0.9933 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/0.2721, allocations: 91.8 kB / 0.9934 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.2739, allocations: 1.505 MB / 0.9949 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.2745, allocations: 55.89 kB / 0.9949 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.2746, allocations: 16 kB / 0.9949 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2746, allocations: 4 kB / 0.9949 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001721/0.2763, allocations: 0.4942 MB / 0.9954 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2764, allocations: 4 kB / 0.9954 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.2766, allocations: 41.14 kB / 0.9955 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.2772, allocations: 83.88 kB / 0.9955 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.2787, allocations: 1.508 MB / 0.997 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.2792, allocations: 43.94 kB / 0.9971 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.2792, allocations: 19.98 kB / 0.9971 GB, free: 8.758 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.000281/0.2795, allocations: 241.6 kB / 0.9973 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.2796, allocations: 23.72 kB / 0.9973 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.2813, allocations: 493.7 kB / 0.9978 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2813, allocations: 4.125 kB / 0.9978 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2813, allocations: 8 kB / 0.9978 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.2813, allocations: 3.984 kB / 0.9978 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008836/0.2822, allocations: 0.5661 MB / 0.9984 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2823, allocations: 7.938 kB / 0.9984 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.2829, allocations: 75.86 kB / 0.9985 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.2831, allocations: 36.92 kB / 0.9985 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.2831, allocations: 11.98 kB / 0.9985 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.2844, allocations: 1.425 MB / 0.9999 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2844, allocations: 8.047 kB / 0.9999 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.286, allocations: 0.598 MB / 1 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.2862, allocations: 136.7 kB / 1.001 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.2863, allocations: 8 kB / 1.001 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.2869, allocations: 39.95 kB / 1.001 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.287, allocations: 39.84 kB / 1.001 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.2871, allocations: 11.98 kB / 1.001 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002116/0.2873, allocations: 172.5 kB / 1.001 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2873, allocations: 0 / 1.001 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001083/0.2884, allocations: 128 kB / 1.001 GB, free: 4.469 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.0002094/0.2886, allocations: 107.2 kB / 1.001 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.2914, allocations: 1.02 MB / 1.002 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2914, allocations: 0 / 1.002 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008701/0.2923, allocations: 342.8 kB / 1.002 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.2928, allocations: 42.09 kB / 1.002 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.2945, allocations: 0.7326 MB / 1.003 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2949, allocations: 0.7995 MB / 1.004 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005496/0.2955, allocations: 98.38 kB / 1.004 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.2956, allocations: 27.42 kB / 1.004 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2957, allocations: 3.938 kB / 1.004 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of Templates: time 0.01532/0.311, allocations: 4.013 MB / 1.008 GB, free: 13.19 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)