Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.117/2.117, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.00136/0.00136, allocations: 183.1 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.428/2.428, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009255/0.0009251, allocations: 104.3 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004684, allocations: 10.11 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2298, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003831/0.2337, allocations: 2.618 MB / 0.9021 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.2367, allocations: 1.657 MB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.2368, allocations: 11.94 kB / 0.9037 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.237, allocations: 35.7 kB / 0.9037 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.2375, allocations: 143.3 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.2382, allocations: 187.6 kB / 0.904 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.2387, allocations: 422.6 kB / 0.9044 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000825/0.2395, allocations: 390.5 kB / 0.9048 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.2398, allocations: 131.5 kB / 0.9049 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.2401, allocations: 163.4 kB / 0.9051 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.2401, allocations: 12 kB / 0.9051 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.2405, allocations: 147.7 kB / 0.9053 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.67e-05/0.2406, allocations: 79.78 kB / 0.9053 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.609e-05/0.2407, allocations: 69.58 kB / 0.9054 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.2411, allocations: 339.4 kB / 0.9057 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2412, allocations: 0 / 0.9057 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.286e-06/0.2412, allocations: 0 / 0.9057 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.2412, allocations: 7.875 kB / 0.9057 GB, free: 59.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.001336/0.2425, allocations: 0.6097 MB / 0.9063 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2426, allocations: 12.03 kB / 0.9063 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009906/0.2436, allocations: 96.47 kB / 0.9064 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.244, allocations: 275.8 kB / 0.9067 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.244, allocations: 16.81 kB / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.2441, allocations: 24.36 kB / 0.9067 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2452, allocations: 430.7 kB / 0.9071 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2452, allocations: 0 / 0.9071 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.2453, allocations: 8 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/0.2453, allocations: 24.36 kB / 0.9072 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.2467, allocations: 420.7 kB / 0.9076 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.2489, allocations: 1.607 MB / 0.9091 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.2507, allocations: 485.1 kB / 0.9096 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/0.2514, allocations: 209.6 kB / 0.9098 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.2516, allocations: 93.08 kB / 0.9099 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007846/0.2524, allocations: 278.5 kB / 0.9102 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.555e-06/0.2524, allocations: 0 / 0.9102 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.002829/0.2552, allocations: 0.773 MB / 0.9109 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.2553, allocations: 89.05 kB / 0.911 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.2555, allocations: 224.9 kB / 0.9112 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.2556, allocations: 33.7 kB / 0.9112 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2557, allocations: 168.4 kB / 0.9114 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.2558, allocations: 94.66 kB / 0.9115 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2559, allocations: 8 kB / 0.9115 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.256, allocations: 330.8 kB / 0.9118 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.2566, allocations: 184.2 kB / 0.912 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/0.2573, allocations: 253.4 kB / 0.9122 GB, free: 52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007278/0.2581, allocations: 237.8 kB / 0.9125 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2581, allocations: 0 / 0.9125 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001797/0.2599, allocations: 0.5636 MB / 0.913 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.26, allocations: 192.1 kB / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2601, allocations: 0 / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.2604, allocations: 48.81 kB / 0.9132 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/0.2611, allocations: 87.86 kB / 0.9133 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.2626, allocations: 1.489 MB / 0.9148 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.2632, allocations: 55.8 kB / 0.9148 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.2633, allocations: 15.98 kB / 0.9148 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.814e-06/0.2633, allocations: 12 kB / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001653/0.2649, allocations: 498.9 kB / 0.9153 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.265, allocations: 4 kB / 0.9153 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.2652, allocations: 44.92 kB / 0.9154 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.2658, allocations: 95.86 kB / 0.9155 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.2671, allocations: 1.477 MB / 0.9169 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.2676, allocations: 55.8 kB / 0.917 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.2677, allocations: 8 kB / 0.917 GB, free: 46.79 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 ($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.0002456/0.2679, allocations: 246 kB / 0.9172 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.268, allocations: 27.66 kB / 0.9172 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.2696, allocations: 497.4 kB / 0.9177 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.2696, allocations: 0 / 0.9177 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2696, allocations: 0 / 0.9177 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.2698, allocations: 136.6 kB / 0.9178 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.2699, allocations: 7.938 kB / 0.9178 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/0.2704, allocations: 47.94 kB / 0.9179 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.2706, allocations: 39.94 kB / 0.9179 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001963/0.2726, allocations: 0.6431 MB / 0.9186 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002604/0.2752, allocations: 0.8847 MB / 0.9194 GB, free: 44.22 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001065/0.2763, allocations: 204.9 kB / 0.9196 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003191/0.2766, allocations: 168.5 kB / 0.9198 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of Backend: time 1.223e-06/0.2766, allocations: 0 / 0.9198 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004945/0.2816, allocations: 0.9792 MB / 0.9207 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002026/0.2837, allocations: 1.083 MB / 0.9218 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.01686/0.3006, allocations: 6.48 MB / 0.9281 GB, free: 35.23 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)