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.732/1.732, allocations: 288.4 MB / 303.4 MB, free: 8.176 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.0009775/0.0009778, allocations: 187 kB / 372 MB, free: 10.27 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.035/2.035, allocations: 205.4 MB / 0.6307 GB, free: 9.891 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.0008343/0.0008345, allocations: 94.3 kB / 0.7441 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004909, allocations: 11.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3105, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003453/0.314, allocations: 2.615 MB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.3163, allocations: 1.657 MB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3164, allocations: 7.938 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.3167, allocations: 35.66 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.3171, allocations: 151.3 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.3176, allocations: 183.6 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.318, allocations: 410.7 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006907/0.3187, allocations: 382.6 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.3189, allocations: 135.5 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3192, allocations: 163.4 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.3192, allocations: 12 kB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.3195, allocations: 143.8 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.3196, allocations: 83.7 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.3197, allocations: 73.52 kB / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.32, allocations: 343.4 kB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.32, allocations: 4 kB / 0.9858 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.486e-06/0.3201, allocations: 3.938 kB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.3201, allocations: 0 / 0.9858 GB, free: 21.23 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.001151/0.3212, allocations: 0.5979 MB / 0.9864 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3213, allocations: 12.02 kB / 0.9864 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000685/0.322, allocations: 111.4 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.3223, allocations: 270.6 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3223, allocations: 16.44 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.3224, allocations: 16 kB / 0.9868 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.3231, allocations: 430.5 kB / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3231, allocations: 0 / 0.9872 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3232, allocations: 12 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.3232, allocations: 20.36 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.324, allocations: 424.5 kB / 0.9876 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3256, allocations: 1.611 MB / 0.9892 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.3266, allocations: 493.1 kB / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.327, allocations: 213.5 kB / 0.9899 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3272, allocations: 85.09 kB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/0.3277, allocations: 280.4 kB / 0.9902 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.3277, allocations: 0 / 0.9902 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.0017/0.3294, allocations: 0.7727 MB / 0.991 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3295, allocations: 89.28 kB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3296, allocations: 217 kB / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3297, allocations: 33.7 kB / 0.9913 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.3298, allocations: 172.2 kB / 0.9915 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.3298, allocations: 86.75 kB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.3298, allocations: 8 kB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.3299, allocations: 338.8 kB / 0.9919 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.3303, allocations: 180.2 kB / 0.9921 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3307, allocations: 261 kB / 0.9923 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.3311, allocations: 234.3 kB / 0.9925 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3311, allocations: 0 / 0.9925 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001009/0.3321, allocations: 0.5553 MB / 0.9931 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.155e-05/0.3322, allocations: 190.6 kB / 0.9933 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3322, allocations: 4 kB / 0.9933 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.3325, allocations: 44.72 kB / 0.9933 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.3329, allocations: 91.86 kB / 0.9934 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.334, allocations: 1.497 MB / 0.9948 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.3343, allocations: 56.05 kB / 0.9949 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.3344, allocations: 19.94 kB / 0.9949 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.3344, allocations: 4 kB / 0.9949 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009313/0.3353, allocations: 0.4904 MB / 0.9954 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3354, allocations: 4.062 kB / 0.9954 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.3356, allocations: 48.8 kB / 0.9955 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.3359, allocations: 83.88 kB / 0.9955 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009014/0.3368, allocations: 1.489 MB / 0.997 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3371, allocations: 47.94 kB / 0.997 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.3371, allocations: 15.98 kB / 0.997 GB, free: 8.938 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.0002011/0.3374, allocations: 241 kB / 0.9973 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.3374, allocations: 23.72 kB / 0.9973 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/0.3384, allocations: 0.4898 MB / 0.9978 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3384, allocations: 7.984 kB / 0.9978 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.3384, allocations: 0 / 0.9978 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3384, allocations: 0 / 0.9978 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.339, allocations: 0.57 MB / 0.9983 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.339, allocations: 0 / 0.9983 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.3393, allocations: 83.86 kB / 0.9984 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.3395, allocations: 36.81 kB / 0.9985 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.3395, allocations: 8.234 kB / 0.9985 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008066/0.3403, allocations: 1.417 MB / 0.9999 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3403, allocations: 0 / 0.9999 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.3412, allocations: 0.5695 MB / 1 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3413, allocations: 136.7 kB / 1.001 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.3414, allocations: 8 kB / 1.001 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.3416, allocations: 39.95 kB / 1.001 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.3417, allocations: 35.91 kB / 1.001 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3418, allocations: 4 kB / 1.001 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001324/0.3419, allocations: 176.5 kB / 1.001 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3419, allocations: 4 kB / 1.001 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005229/0.3424, allocations: 128 kB / 1.001 GB, free: 4.715 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.0001645/0.3426, allocations: 115.2 kB / 1.001 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.3442, allocations: 1.016 MB / 1.002 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3443, allocations: 4.062 kB / 1.002 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.3448, allocations: 330.6 kB / 1.002 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3452, allocations: 48.41 kB / 1.002 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.3463, allocations: 0.7426 MB / 1.003 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3465, allocations: 0.7916 MB / 1.004 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002676/0.3468, allocations: 98.33 kB / 1.004 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.156e-05/0.3469, allocations: 27.42 kB / 1.004 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.3469, allocations: 0 / 1.004 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of Templates: time 0.007748/0.3546, allocations: 4.036 MB / 1.008 GB, free: 13.42 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)