Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 102.2 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 198.7 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.78/0.78, allocations: 122.9 MB / 413.6 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001749, allocations: 63.89 kB / 0.4906 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4447, allocations: 77.91 MB / 0.5667 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00568/0.4504, allocations: 3.102 MB / 0.5698 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.4536, allocations: 1.903 MB / 0.5716 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.4538, allocations: 3.25 kB / 0.5716 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009359/0.4548, allocations: 266.3 kB / 0.5719 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.4553, allocations: 182 kB / 0.572 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.4561, allocations: 225 kB / 0.5723 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.4565, allocations: 321 kB / 0.5726 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.4569, allocations: 198.2 kB / 0.5728 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.4571, allocations: 136.3 kB / 0.5729 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.4575, allocations: 152.2 kB / 0.573 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.4575, allocations: 20 kB / 0.573 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.4582, allocations: 408.1 kB / 0.5734 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4583, allocations: 84.14 kB / 0.5735 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.4584, allocations: 120.1 kB / 0.5736 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.4592, allocations: 0.5031 MB / 0.5741 GB, free: 27.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4592, allocations: 1.656 kB / 0.5741 GB, free: 27.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4592, allocations: 1.406 kB / 0.5741 GB, free: 27.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4592, allocations: 0 / 0.5741 GB, free: 27.62 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009404/0.4602, allocations: 0.5519 MB / 0.5747 GB, free: 27.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4602, allocations: 10.69 kB / 0.5747 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008746/0.4611, allocations: 114.4 kB / 0.5748 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.4615, allocations: 263.5 kB / 0.575 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.4615, allocations: 14.53 kB / 0.575 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.4615, allocations: 19.83 kB / 0.5751 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.4621, allocations: 362.1 kB / 0.5754 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4622, allocations: 1.281 kB / 0.5754 GB, free: 26.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.4622, allocations: 14.33 kB / 0.5754 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.4623, allocations: 23.56 kB / 0.5754 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005148/0.4628, allocations: 294.4 kB / 0.5757 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.4649, allocations: 1.742 MB / 0.5774 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.4654, allocations: 321.5 kB / 0.5777 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.4655, allocations: 100.9 kB / 0.5778 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.4657, allocations: 95.22 kB / 0.5779 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.4657, allocations: 34.73 kB / 0.578 GB, free: 24.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4657, allocations: 0.7812 kB / 0.578 GB, free: 24.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002736/0.4684, allocations: 0.972 MB / 0.5789 GB, free: 24.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.4685, allocations: 90.55 kB / 0.579 GB, free: 24.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.4687, allocations: 211.5 kB / 0.5792 GB, free: 24.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.4688, allocations: 31.02 kB / 0.5792 GB, free: 23.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.4689, allocations: 171.4 kB / 0.5794 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.469, allocations: 81.12 kB / 0.5795 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4691, allocations: 64.42 kB / 0.5795 GB, free: 23.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4692, allocations: 331.6 kB / 0.5798 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.4695, allocations: 130.3 kB / 0.58 GB, free: 23.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.4697, allocations: 214.8 kB / 0.5802 GB, free: 23.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.4702, allocations: 366.9 kB / 0.5805 GB, free: 23.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4702, allocations: 0 / 0.5805 GB, free: 23.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000838/0.471, allocations: 0.5042 MB / 0.581 GB, free: 22.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4711, allocations: 9.812 kB / 0.581 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4711, allocations: 2.75 kB / 0.581 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.4716, allocations: 152.7 kB / 0.5812 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.4719, allocations: 61.75 kB / 0.5812 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.4744, allocations: 4.189 MB / 0.5853 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.4747, allocations: 22.89 kB / 0.5853 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.4747, allocations: 15.19 kB / 0.5854 GB, free: 18.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.4749, allocations: 172.6 kB / 0.5855 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.475, allocations: 18.44 kB / 0.5855 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009261/0.4759, allocations: 475 kB / 0.586 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.4759, allocations: 3.844 kB / 0.586 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4759, allocations: 1.188 kB / 0.586 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.476, allocations: 5.422 kB / 0.586 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.4774, allocations: 1.003 MB / 0.587 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4774, allocations: 1.594 kB / 0.587 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.4776, allocations: 38.89 kB / 0.587 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.4779, allocations: 147.2 kB / 0.5872 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.478, allocations: 10.78 kB / 0.5872 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.4801, allocations: 4.168 MB / 0.5912 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4801, allocations: 3.062 kB / 0.5912 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.4808, allocations: 0.6269 MB / 0.5919 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.4809, allocations: 126.4 kB / 0.592 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.481, allocations: 11.53 kB / 0.592 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.4812, allocations: 21.3 kB / 0.592 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.4813, allocations: 23.69 kB / 0.592 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.4813, allocations: 11.78 kB / 0.592 GB, free: 12.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.4814, allocations: 161.4 kB / 0.5922 GB, free: 12.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4815, allocations: 1.25 kB / 0.5922 GB, free: 12.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.4821, allocations: 85.75 kB / 0.5923 GB, free: 12.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002173/0.4823, allocations: 140 kB / 0.5924 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000955/0.4832, allocations: 0.6012 MB / 0.593 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4833, allocations: 1.281 kB / 0.593 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.4837, allocations: 401.8 kB / 0.5934 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.4843, allocations: 40.84 kB / 0.5934 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4854, allocations: 0.7503 MB / 0.5942 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.4857, allocations: 0.7805 MB / 0.5949 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.4859, allocations: 58.39 kB / 0.595 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.4859, allocations: 23.22 kB / 0.595 GB, free: 10.28 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4859, allocations: 1.094 kB / 0.595 GB, free: 10.28 MB / 446.1 MB Notification: Performance of Templates: time 0.009142/0.4951, allocations: 4.166 MB / 0.5991 GB, free: 8.246 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)