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.355/1.355, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001057/0.001057, allocations: 176.7 kB / 326.5 MB, free: 2.703 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.839/1.839, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007915/0.0007915, allocations: 82.31 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 11.33 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1884, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.002652/0.1911, allocations: 2.747 MB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.193, allocations: 1.804 MB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1931, allocations: 7.938 kB / 0.9012 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.1937, allocations: 219.2 kB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.194, allocations: 179.2 kB / 0.9016 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1944, allocations: 227.5 kB / 0.9018 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.1948, allocations: 0.4947 MB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.1951, allocations: 197.8 kB / 0.9025 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1952, allocations: 135.5 kB / 0.9026 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.1954, allocations: 171.4 kB / 0.9028 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.1955, allocations: 16 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.1958, allocations: 295.4 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.1959, allocations: 95.64 kB / 0.9032 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.196, allocations: 127.2 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.1963, allocations: 470.5 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1963, allocations: 4 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1963, allocations: 0 / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1963, allocations: 0 / 0.9037 GB, free: 61 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.0008682/0.1972, allocations: 0.598 MB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1973, allocations: 8.031 kB / 0.9043 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006/0.1979, allocations: 96.47 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1981, allocations: 283.4 kB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1981, allocations: 16.81 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.1982, allocations: 24.36 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.1988, allocations: 426.9 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1988, allocations: 4 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.1989, allocations: 15.92 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.1989, allocations: 24.36 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.1996, allocations: 420.7 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.2009, allocations: 1.607 MB / 0.9071 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009407/0.2018, allocations: 489.1 kB / 0.9076 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.2022, allocations: 209.6 kB / 0.9078 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.2023, allocations: 85.11 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/0.2028, allocations: 282.5 kB / 0.9082 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/0.2028, allocations: 0 / 0.9082 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001527/0.2043, allocations: 0.7856 MB / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.2044, allocations: 81.3 kB / 0.909 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2045, allocations: 233 kB / 0.9092 GB, free: 55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.2046, allocations: 29.7 kB / 0.9093 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2046, allocations: 160.3 kB / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.2047, allocations: 94.73 kB / 0.9095 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.2047, allocations: 33.7 kB / 0.9095 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.2048, allocations: 338.7 kB / 0.9099 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.2051, allocations: 188.2 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.2055, allocations: 257.3 kB / 0.9103 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.2062, allocations: 490.9 kB / 0.9107 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2062, allocations: 0 / 0.9107 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009429/0.2072, allocations: 0.5635 MB / 0.9113 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.2072, allocations: 185.2 kB / 0.9115 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2073, allocations: 4 kB / 0.9115 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.2074, allocations: 36.83 kB / 0.9115 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.2078, allocations: 91.86 kB / 0.9116 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009159/0.2087, allocations: 1.508 MB / 0.9131 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.209, allocations: 55.95 kB / 0.9131 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.2091, allocations: 12 kB / 0.9131 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-06/0.2091, allocations: 4 kB / 0.9131 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008699/0.21, allocations: 0.4982 MB / 0.9136 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.21, allocations: 0 / 0.9136 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/0.2101, allocations: 44.81 kB / 0.9137 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.2104, allocations: 87.88 kB / 0.9138 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007762/0.2112, allocations: 1.493 MB / 0.9152 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.2115, allocations: 59.98 kB / 0.9153 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.2115, allocations: 8 kB / 0.9153 GB, free: 48.36 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.0001403/0.2116, allocations: 241.7 kB / 0.9155 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.2117, allocations: 27.66 kB / 0.9155 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/0.2126, allocations: 494.6 kB / 0.916 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2126, allocations: 0 / 0.916 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2126, allocations: 4 kB / 0.916 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.53e-05/0.2127, allocations: 124.8 kB / 0.9161 GB, free: 47.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.2127, allocations: 15.84 kB / 0.9161 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.213, allocations: 51.88 kB / 0.9162 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.2131, allocations: 35.89 kB / 0.9162 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001024/0.2142, allocations: 0.642 MB / 0.9169 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001142/0.2153, allocations: 0.8927 MB / 0.9177 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003395/0.2157, allocations: 199.8 kB / 0.9179 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001067/0.2158, allocations: 176.5 kB / 0.9181 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of Backend: time 7.42e-07/0.2158, allocations: 0 / 0.9181 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.2175, allocations: 1.05 MB / 0.9191 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008296/0.2184, allocations: 1.064 MB / 0.9202 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.0091/0.2275, allocations: 6.626 MB / 0.9266 GB, free: 36.6 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)