Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.379/1.379, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009951/0.0009951, allocations: 175.8 kB / 326.5 MB, free: 2.691 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.699/1.699, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007457/0.0007457, allocations: 93.17 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 11.94 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003794/0.1961, allocations: 3.268 MB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.1985, allocations: 1.804 MB / 0.9017 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1986, allocations: 0 / 0.9017 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007337/0.1994, allocations: 223.2 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.1998, allocations: 187.2 kB / 0.9021 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.2002, allocations: 231.5 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.2006, allocations: 0.4907 MB / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.2009, allocations: 213.8 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.2011, allocations: 131.5 kB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.2014, allocations: 167.4 kB / 0.9033 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.2014, allocations: 12 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.2018, allocations: 307.4 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.2019, allocations: 83.72 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.202, allocations: 131.3 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.2024, allocations: 466.4 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2024, allocations: 0 / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2024, allocations: 4 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2024, allocations: 0 / 0.9042 GB, free: 60.46 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.0009266/0.2033, allocations: 0.5942 MB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2034, allocations: 8.031 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/0.204, allocations: 100.5 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.2043, allocations: 283.5 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2043, allocations: 16.8 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.2044, allocations: 20.38 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.205, allocations: 430.9 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.205, allocations: 7.906 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.2051, allocations: 8 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.2051, allocations: 28.36 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007233/0.2058, allocations: 416.7 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2072, allocations: 1.607 MB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009932/0.2082, allocations: 485.1 kB / 0.9081 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.2085, allocations: 209.6 kB / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.2087, allocations: 97.08 kB / 0.9084 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.2091, allocations: 270.5 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.524e-06/0.2091, allocations: 3.938 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001603/0.2108, allocations: 0.7856 MB / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.2108, allocations: 81.09 kB / 0.9095 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.211, allocations: 229.2 kB / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.211, allocations: 33.7 kB / 0.9098 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.2111, allocations: 164.3 kB / 0.9099 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.2111, allocations: 98.64 kB / 0.91 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.2112, allocations: 37.64 kB / 0.9101 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.2112, allocations: 334.8 kB / 0.9104 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.2116, allocations: 184.2 kB / 0.9106 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.212, allocations: 253.3 kB / 0.9108 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.2127, allocations: 490.9 kB / 0.9113 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2127, allocations: 8 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000941/0.2137, allocations: 0.5557 MB / 0.9118 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.2138, allocations: 186.7 kB / 0.912 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2138, allocations: 0 / 0.912 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.214, allocations: 44.81 kB / 0.912 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.2144, allocations: 91.86 kB / 0.9121 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009629/0.2153, allocations: 1.497 MB / 0.9136 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.2157, allocations: 51.92 kB / 0.9136 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2157, allocations: 15.98 kB / 0.9136 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.2157, allocations: 4 kB / 0.9137 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009026/0.2166, allocations: 0.4943 MB / 0.9141 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2166, allocations: 7.984 kB / 0.9141 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.2168, allocations: 36.83 kB / 0.9142 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.2171, allocations: 87.86 kB / 0.9143 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007942/0.2179, allocations: 1.493 MB / 0.9157 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.2182, allocations: 47.88 kB / 0.9158 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.2182, allocations: 19.98 kB / 0.9158 GB, free: 47.84 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.0001673/0.2184, allocations: 236.5 kB / 0.916 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.2184, allocations: 27.66 kB / 0.916 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008946/0.2193, allocations: 0.491 MB / 0.9165 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2193, allocations: 3.984 kB / 0.9165 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2193, allocations: 0 / 0.9165 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2195, allocations: 128.8 kB / 0.9166 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.2195, allocations: 11.88 kB / 0.9167 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.2198, allocations: 55.88 kB / 0.9167 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.2199, allocations: 27.95 kB / 0.9167 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001014/0.2209, allocations: 0.6498 MB / 0.9174 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001108/0.222, allocations: 0.8849 MB / 0.9182 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003359/0.2224, allocations: 207.8 kB / 0.9184 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001121/0.2225, allocations: 168.5 kB / 0.9186 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of Backend: time 1.182e-06/0.2225, allocations: 0 / 0.9186 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.2244, allocations: 1.063 MB / 0.9196 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008341/0.2252, allocations: 1.052 MB / 0.9207 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.008614/0.2338, allocations: 6.649 MB / 0.9271 GB, free: 36.08 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)