Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009442/0.0009444, allocations: 183 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006874/0.0006874, allocations: 94.09 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003243, allocations: 11.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2262, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003082/0.2293, allocations: 2.755 MB / 0.8994 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002487/0.2318, allocations: 1.8 MB / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.232, allocations: 7.938 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007/0.2327, allocations: 215.2 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.2331, allocations: 179.2 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.2337, allocations: 235.5 kB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.2342, allocations: 494.6 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004089/0.2346, allocations: 209.8 kB / 0.9025 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.2348, allocations: 131.5 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.2351, allocations: 163.4 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.2351, allocations: 12 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.2356, allocations: 311.4 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.2357, allocations: 83.66 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2358, allocations: 127.3 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.2362, allocations: 359.1 kB / 0.9036 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2362, allocations: 0 / 0.9036 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2362, allocations: 0 / 0.9036 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2362, allocations: 0 / 0.9036 GB, free: 61.08 MB / 0.6042 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.001015/0.2372, allocations: 0.5981 MB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2373, allocations: 8.031 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.2379, allocations: 112.4 kB / 0.9043 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.2382, allocations: 279.5 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.2382, allocations: 16.8 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.2383, allocations: 20.38 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.239, allocations: 442.8 kB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.239, allocations: 0 / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.239, allocations: 8 kB / 0.905 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.2391, allocations: 24.36 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007394/0.2398, allocations: 412.8 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.2413, allocations: 1.615 MB / 0.907 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2423, allocations: 490.7 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.2427, allocations: 209.6 kB / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.2429, allocations: 93.08 kB / 0.9078 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.2434, allocations: 270.5 kB / 0.9081 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.763e-06/0.2434, allocations: 0 / 0.9081 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001683/0.2451, allocations: 0.7894 MB / 0.9088 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.2451, allocations: 85.3 kB / 0.9089 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.2453, allocations: 225 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.2453, allocations: 33.7 kB / 0.9091 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.2454, allocations: 164.3 kB / 0.9093 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.2455, allocations: 94.73 kB / 0.9094 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.2455, allocations: 33.7 kB / 0.9094 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.2456, allocations: 334.8 kB / 0.9097 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.2459, allocations: 184.2 kB / 0.9099 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.2463, allocations: 253.3 kB / 0.9102 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.2471, allocations: 498.9 kB / 0.9106 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2471, allocations: 0 / 0.9106 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00096/0.2481, allocations: 0.5598 MB / 0.9112 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.405e-05/0.2481, allocations: 186.5 kB / 0.9114 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2482, allocations: 4 kB / 0.9114 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.2484, allocations: 40.81 kB / 0.9114 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.2488, allocations: 95.86 kB / 0.9115 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.2498, allocations: 1.497 MB / 0.913 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2501, allocations: 51.92 kB / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.2502, allocations: 19.98 kB / 0.913 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.2502, allocations: 4 kB / 0.913 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009117/0.2511, allocations: 0.4944 MB / 0.9135 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2511, allocations: 4 kB / 0.9135 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/0.2513, allocations: 36.83 kB / 0.9136 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.2516, allocations: 99.95 kB / 0.9137 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008636/0.2525, allocations: 1.481 MB / 0.9151 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.2527, allocations: 55.89 kB / 0.9151 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.2528, allocations: 12 kB / 0.9152 GB, free: 48.45 MB / 0.6042 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 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.253, allocations: 237.7 kB / 0.9154 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.253, allocations: 31.59 kB / 0.9154 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009009/0.2539, allocations: 494.6 kB / 0.9159 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2539, allocations: 4 kB / 0.9159 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.254, allocations: 0 / 0.9159 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.254, allocations: 3.984 kB / 0.9159 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.2545, allocations: 0.5699 MB / 0.9165 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2545, allocations: 0 / 0.9165 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.2549, allocations: 79.92 kB / 0.9165 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.255, allocations: 44.8 kB / 0.9166 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.255, allocations: 8 kB / 0.9166 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007759/0.2558, allocations: 1.417 MB / 0.918 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2558, allocations: 7.969 kB / 0.918 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.2567, allocations: 0.5692 MB / 0.9185 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2568, allocations: 128.7 kB / 0.9187 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.2568, allocations: 4 kB / 0.9187 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.2571, allocations: 39.95 kB / 0.9187 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2572, allocations: 39.89 kB / 0.9187 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.2573, allocations: 4 kB / 0.9187 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001169/0.2574, allocations: 184.5 kB / 0.9189 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2574, allocations: 0 / 0.9189 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005398/0.2579, allocations: 131.9 kB / 0.919 GB, free: 44.21 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.2581, allocations: 111.2 kB / 0.9191 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.2597, allocations: 1.005 MB / 0.9201 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2597, allocations: 0 / 0.9201 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.2602, allocations: 347.2 kB / 0.9205 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.2607, allocations: 44.41 kB / 0.9205 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2617, allocations: 0.7524 MB / 0.9212 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.2619, allocations: 0.7878 MB / 0.922 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2621, allocations: 27.44 kB / 0.922 GB, free: 41 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/0.2621, allocations: 0 / 0.922 GB, free: 41 MB / 0.6042 GB Notification: Performance of Templates: time 0.006143/0.2682, allocations: 5.09 MB / 0.927 GB, free: 35.91 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)