Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.709/2.709, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001552/0.001552, allocations: 174.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001155/0.001155, allocations: 94.84 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006798/0.0006801, allocations: 11.97 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2397, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.005767/0.2455, allocations: 2.568 MB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004922/0.2505, allocations: 1.611 MB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.2509, allocations: 7.938 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.2512, allocations: 35.77 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008426/0.2521, allocations: 131.6 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2533, allocations: 192.5 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007122/0.2541, allocations: 219.6 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.2555, allocations: 382.5 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.2559, allocations: 115.6 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004563/0.2564, allocations: 127.5 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.2565, allocations: 20 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.2571, allocations: 135.8 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.2573, allocations: 83.72 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.2574, allocations: 65.58 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.2583, allocations: 347.3 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2583, allocations: 0 / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.407e-06/0.2583, allocations: 0 / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.2584, allocations: 0 / 0.9841 GB, free: 22.33 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.002171/0.2605, allocations: 0.6019 MB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.2606, allocations: 8.031 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.2624, allocations: 111.5 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.2632, allocations: 274.3 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.2632, allocations: 16.44 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.2634, allocations: 20 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.2651, allocations: 430.5 kB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.2651, allocations: 0 / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.488e-05/0.2652, allocations: 7.984 kB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.033e-05/0.2653, allocations: 32.3 kB / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.2674, allocations: 420.7 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/0.2709, allocations: 1.615 MB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.2736, allocations: 489.2 kB / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.2739, allocations: 93.03 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/0.2752, allocations: 278.5 kB / 0.9883 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 4.839e-06/0.2752, allocations: 0 / 0.9883 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.004217/0.2795, allocations: 0.7733 MB / 0.9891 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.2796, allocations: 89.09 kB / 0.9891 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.28, allocations: 221 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.2801, allocations: 29.7 kB / 0.9894 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.2803, allocations: 172.3 kB / 0.9895 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.2804, allocations: 90.75 kB / 0.9896 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.2805, allocations: 4 kB / 0.9896 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2806, allocations: 342.8 kB / 0.99 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009791/0.2816, allocations: 176.2 kB / 0.9901 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.2827, allocations: 257.3 kB / 0.9904 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.2838, allocations: 230.3 kB / 0.9906 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2839, allocations: 0 / 0.9906 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00272/0.2866, allocations: 0.5641 MB / 0.9911 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003261/0.287, allocations: 0.9021 MB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.2871, allocations: 4 kB / 0.992 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004597/0.2875, allocations: 44.81 kB / 0.9921 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2886, allocations: 87.88 kB / 0.9922 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.2911, allocations: 1.52 MB / 0.9936 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.2921, allocations: 51.8 kB / 0.9937 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.2922, allocations: 11.95 kB / 0.9937 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2922, allocations: 4 kB / 0.9937 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002518/0.2948, allocations: 0.4983 MB / 0.9942 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.2949, allocations: 0 / 0.9942 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.2952, allocations: 40.81 kB / 0.9942 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/0.2962, allocations: 92.09 kB / 0.9943 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.2983, allocations: 1.501 MB / 0.9958 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/0.2992, allocations: 47.89 kB / 0.9958 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.2993, allocations: 12 kB / 0.9958 GB, free: 9.457 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.0003946/0.2997, allocations: 244.9 kB / 0.9961 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2998, allocations: 27.78 kB / 0.9961 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.3022, allocations: 493 kB / 0.9966 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.3023, allocations: 4 kB / 0.9966 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3023, allocations: 4 kB / 0.9966 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.3023, allocations: 7.891 kB / 0.9966 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.3036, allocations: 0.5661 MB / 0.9971 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3036, allocations: 0 / 0.9971 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/0.3046, allocations: 87.95 kB / 0.9972 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.3049, allocations: 32.83 kB / 0.9973 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.305, allocations: 15.89 kB / 0.9973 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.3068, allocations: 1.429 MB / 0.9987 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3069, allocations: 4.031 kB / 0.9987 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.3094, allocations: 0.5978 MB / 0.9993 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.3098, allocations: 132.7 kB / 0.9994 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.3099, allocations: 8 kB / 0.9994 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/0.3108, allocations: 43.95 kB / 0.9994 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.311, allocations: 35.91 kB / 0.9995 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.3111, allocations: 8 kB / 0.9995 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003299/0.3114, allocations: 180.4 kB / 0.9996 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.61e-07/0.3114, allocations: 0 / 0.9996 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001454/0.3129, allocations: 124 kB / 0.9998 GB, free: 5.16 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.0003002/0.3132, allocations: 107.2 kB / 0.9999 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004138/0.3174, allocations: 1.012 MB / 1.001 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.3175, allocations: 0 / 1.001 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.3189, allocations: 342.8 kB / 1.001 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.3197, allocations: 40.47 kB / 1.001 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.3222, allocations: 0.741 MB / 1.002 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.3226, allocations: 0.7956 MB / 1.003 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008005/0.3235, allocations: 90.2 kB / 1.003 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.3237, allocations: 27.44 kB / 1.003 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of SimCode: time 1.422e-06/0.3237, allocations: 4 kB / 1.003 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of Templates: time 0.01806/0.3418, allocations: 4.013 MB / 1.007 GB, free: 13.88 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)