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.704/2.704, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001309/0.001309, allocations: 182.3 kB / 371 MB, free: 10.85 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.172/2.172, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009882/0.000988, allocations: 86.17 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005192, allocations: 11.89 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2295, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004162/0.2337, allocations: 2.622 MB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003667/0.2375, allocations: 1.65 MB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.2378, allocations: 7.938 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.2381, allocations: 35.7 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.2387, allocations: 147.3 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008812/0.2396, allocations: 184.4 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.2402, allocations: 422.6 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.2413, allocations: 374.6 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.2416, allocations: 131.5 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.242, allocations: 171.4 kB / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.2421, allocations: 12 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.2426, allocations: 139.8 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2427, allocations: 83.7 kB / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.589e-05/0.2428, allocations: 69.58 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.2434, allocations: 351.3 kB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.2434, allocations: 0 / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2434, allocations: 0 / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2434, allocations: 4 kB / 0.9846 GB, free: 21.93 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.001513/0.2449, allocations: 0.594 MB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.245, allocations: 12.03 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.246, allocations: 103.5 kB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.2465, allocations: 274.3 kB / 0.9855 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.2465, allocations: 12.44 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.2466, allocations: 19.98 kB / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.2478, allocations: 426.6 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.2478, allocations: 0 / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.2479, allocations: 23.84 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-05/0.2479, allocations: 28.36 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.2494, allocations: 416.7 kB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.2518, allocations: 1.603 MB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.2537, allocations: 497.1 kB / 0.9884 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/0.2544, allocations: 197.6 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.2546, allocations: 97.09 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008173/0.2554, allocations: 278.5 kB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 4.659e-06/0.2554, allocations: 0 / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002937/0.2584, allocations: 0.7811 MB / 0.9898 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.2585, allocations: 81.11 kB / 0.9898 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.2588, allocations: 221 kB / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.2588, allocations: 33.7 kB / 0.9901 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.259, allocations: 168.3 kB / 0.9902 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.2591, allocations: 90.75 kB / 0.9903 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.2591, allocations: 4 kB / 0.9903 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.2592, allocations: 338.8 kB / 0.9907 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.2599, allocations: 180.2 kB / 0.9908 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/0.2606, allocations: 261.3 kB / 0.9911 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.2614, allocations: 226.3 kB / 0.9913 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2614, allocations: 0 / 0.9913 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001845/0.2632, allocations: 0.568 MB / 0.9918 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.2634, allocations: 186.5 kB / 0.992 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2634, allocations: 4 kB / 0.992 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.2637, allocations: 48.75 kB / 0.9921 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.2645, allocations: 87.88 kB / 0.9922 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.2662, allocations: 1.501 MB / 0.9936 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.2669, allocations: 51.8 kB / 0.9937 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.2669, allocations: 20.06 kB / 0.9937 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.267, allocations: 4 kB / 0.9937 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001716/0.2687, allocations: 498 kB / 0.9942 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2687, allocations: 8.266 kB / 0.9942 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.269, allocations: 44.83 kB / 0.9942 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/0.2697, allocations: 83.83 kB / 0.9943 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.2711, allocations: 1.485 MB / 0.9957 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.2717, allocations: 47.86 kB / 0.9958 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.2718, allocations: 12 kB / 0.9958 GB, free: 9.652 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.0003074/0.2721, allocations: 245 kB / 0.996 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.2722, allocations: 27.72 kB / 0.9961 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.2739, allocations: 0.4932 MB / 0.9965 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.274, allocations: 4 kB / 0.9965 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.274, allocations: 0 / 0.9965 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.274, allocations: 144 / 0.9965 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.2749, allocations: 0.57 MB / 0.9971 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2749, allocations: 4 kB / 0.9971 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.2756, allocations: 91.88 kB / 0.9972 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.2758, allocations: 32.83 kB / 0.9972 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.2759, allocations: 8 kB / 0.9972 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.2772, allocations: 1.413 MB / 0.9986 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2772, allocations: 0 / 0.9986 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2788, allocations: 0.5654 MB / 0.9992 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.279, allocations: 136.7 kB / 0.9993 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.2791, allocations: 4 kB / 0.9993 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.2796, allocations: 43.95 kB / 0.9993 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.2798, allocations: 35.91 kB / 0.9994 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.2799, allocations: 11.98 kB / 0.9994 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002072/0.2801, allocations: 168.5 kB / 0.9996 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2801, allocations: 0 / 0.9996 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008331/0.2809, allocations: 128 kB / 0.9997 GB, free: 5.426 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.0002181/0.2812, allocations: 119.2 kB / 0.9998 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.2841, allocations: 1.012 MB / 1.001 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.2841, allocations: 0 / 1.001 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.2851, allocations: 334.9 kB / 1.001 GB, free: 3.898 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.2859, allocations: 48.47 kB / 1.001 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2876, allocations: 0.7382 MB / 1.002 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.2879, allocations: 0.7994 MB / 1.003 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005943/0.2885, allocations: 98.33 kB / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.2887, allocations: 27.44 kB / 1.003 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of SimCode: time 1.443e-06/0.2887, allocations: 0 / 1.003 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of Templates: time 0.01285/0.3016, allocations: 4.044 MB / 1.007 GB, free: 14.11 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)