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 1.829/1.829, allocations: 287.4 MB / 303.2 MB, free: 8.215 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.00104/0.00104, allocations: 178 kB / 371.8 MB, free: 10.81 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.752/1.752, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.001044/0.001045, allocations: 82.28 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 15.64 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2496, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003004/0.2526, allocations: 2.618 MB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.2549, allocations: 1.65 MB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.255, allocations: 4 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2552, allocations: 31.72 kB / 0.9835 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.2556, allocations: 151.3 kB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.2561, allocations: 192.7 kB / 0.9838 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.2565, allocations: 422.6 kB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006572/0.2572, allocations: 406.9 kB / 0.9846 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2574, allocations: 123.5 kB / 0.9847 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.2576, allocations: 167.4 kB / 0.9849 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.2577, allocations: 16 kB / 0.9849 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.2579, allocations: 139.8 kB / 0.985 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.258, allocations: 83.78 kB / 0.9851 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.2581, allocations: 77.5 kB / 0.9852 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.2584, allocations: 347 kB / 0.9855 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2584, allocations: 4 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2584, allocations: 0 / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2584, allocations: 0 / 0.9855 GB, free: 21.73 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.001005/0.2594, allocations: 0.5981 MB / 0.9861 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2595, allocations: 8.031 kB / 0.9861 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006538/0.2602, allocations: 96.47 kB / 0.9862 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.2605, allocations: 275.5 kB / 0.9865 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.2605, allocations: 20.78 kB / 0.9865 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.2606, allocations: 24.38 kB / 0.9865 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.2613, allocations: 430.9 kB / 0.9869 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.2613, allocations: 7.984 kB / 0.9869 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.2614, allocations: 7.938 kB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.2614, allocations: 28.36 kB / 0.987 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.2622, allocations: 404.8 kB / 0.9874 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.2636, allocations: 1.615 MB / 0.9889 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.2646, allocations: 493 kB / 0.9894 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.265, allocations: 205.6 kB / 0.9896 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.2652, allocations: 85.11 kB / 0.9897 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004891/0.2657, allocations: 274.5 kB / 0.9899 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.986e-06/0.2657, allocations: 4 kB / 0.9899 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001643/0.2673, allocations: 0.7849 MB / 0.9907 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.2674, allocations: 85.11 kB / 0.9908 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.2676, allocations: 224.9 kB / 0.991 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.2676, allocations: 29.7 kB / 0.991 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.2677, allocations: 168.4 kB / 0.9912 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.2678, allocations: 94.64 kB / 0.9913 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.2678, allocations: 4 kB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2679, allocations: 338.8 kB / 0.9916 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.2683, allocations: 180.2 kB / 0.9918 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.2687, allocations: 257.3 kB / 0.992 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.2694, allocations: 486.9 kB / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2694, allocations: 0 / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009646/0.2704, allocations: 0.56 MB / 0.993 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.2705, allocations: 186.5 kB / 0.9932 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2705, allocations: 4 kB / 0.9932 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.2708, allocations: 36.83 kB / 0.9933 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.2711, allocations: 95.86 kB / 0.9933 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2722, allocations: 1.501 MB / 0.9948 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.2725, allocations: 51.8 kB / 0.9949 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.2725, allocations: 16 kB / 0.9949 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.2725, allocations: 4 kB / 0.9949 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009124/0.2735, allocations: 498.3 kB / 0.9954 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2735, allocations: 7.938 kB / 0.9954 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.2736, allocations: 40.81 kB / 0.9954 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.2739, allocations: 88.03 kB / 0.9955 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008292/0.2748, allocations: 1.497 MB / 0.9969 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.275, allocations: 47.81 kB / 0.997 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.2751, allocations: 15.98 kB / 0.997 GB, free: 9.168 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.0001718/0.2752, allocations: 229 kB / 0.9972 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.2753, allocations: 35.72 kB / 0.9973 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009399/0.2762, allocations: 493 kB / 0.9977 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2763, allocations: 4.109 kB / 0.9977 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2763, allocations: 4 kB / 0.9977 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2764, allocations: 140.7 kB / 0.9979 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.2764, allocations: 7.984 kB / 0.9979 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.2767, allocations: 51.88 kB / 0.9979 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.2768, allocations: 31.89 kB / 0.998 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00105/0.2779, allocations: 0.6373 MB / 0.9986 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001117/0.279, allocations: 0.8886 MB / 0.9995 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003489/0.2794, allocations: 203.8 kB / 0.9996 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001203/0.2795, allocations: 168.5 kB / 0.9998 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of Backend: time 4.8e-07/0.2795, allocations: 0 / 0.9998 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.2813, allocations: 0.9901 MB / 1.001 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009356/0.2823, allocations: 1.086 MB / 1.002 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of Templates: time 0.01002/0.2923, allocations: 6.474 MB / 1.008 GB, free: 13.59 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)