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.0009776/0.0009775, allocations: 91.47 kB / 16.67 MB, free: 6.594 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.001053/0.001053, allocations: 186.5 kB / 17.58 MB, free: 6.188 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.383/1.383, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 115.5 MB / 408.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003269, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4279, allocations: 77.51 MB / 0.5606 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003346/0.4313, allocations: 2.734 MB / 0.5632 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.4341, allocations: 1.893 MB / 0.5651 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.4343, allocations: 2.594 kB / 0.5651 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.4345, allocations: 35.75 kB / 0.5651 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.435, allocations: 189.4 kB / 0.5653 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.4357, allocations: 221.7 kB / 0.5655 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.4362, allocations: 444.8 kB / 0.566 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.4369, allocations: 332.9 kB / 0.5663 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.437, allocations: 107.5 kB / 0.5664 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.4374, allocations: 148.8 kB / 0.5665 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.4374, allocations: 10.88 kB / 0.5665 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008617/0.4383, allocations: 469.9 kB / 0.567 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.4384, allocations: 75.3 kB / 0.567 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.4385, allocations: 131.4 kB / 0.5672 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.4391, allocations: 371 kB / 0.5675 GB, free: 31.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4391, allocations: 2 kB / 0.5675 GB, free: 31.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4391, allocations: 1.781 kB / 0.5675 GB, free: 31.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4391, allocations: 0 / 0.5675 GB, free: 31.25 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.0007808/0.4399, allocations: 0.5166 MB / 0.568 GB, free: 30.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.44, allocations: 13.97 kB / 0.568 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/0.4408, allocations: 112.6 kB / 0.5682 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.4411, allocations: 261.7 kB / 0.5684 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4412, allocations: 12.97 kB / 0.5684 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.4412, allocations: 22.09 kB / 0.5684 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.4418, allocations: 357 kB / 0.5688 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4418, allocations: 1.062 kB / 0.5688 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.4418, allocations: 6.594 kB / 0.5688 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.4419, allocations: 28.44 kB / 0.5688 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.4424, allocations: 294.3 kB / 0.5691 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.4444, allocations: 1.744 MB / 0.5708 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.4448, allocations: 322.9 kB / 0.5711 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.445, allocations: 109.9 kB / 0.5712 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.4451, allocations: 86.92 kB / 0.5713 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4452, allocations: 34.42 kB / 0.5713 GB, free: 28.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.4452, allocations: 5.25 kB / 0.5713 GB, free: 28.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002559/0.4477, allocations: 0.9728 MB / 0.5723 GB, free: 27.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.4478, allocations: 85.81 kB / 0.5724 GB, free: 27.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.448, allocations: 214.1 kB / 0.5726 GB, free: 27.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.448, allocations: 30.77 kB / 0.5726 GB, free: 27.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.4481, allocations: 174.7 kB / 0.5728 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.4482, allocations: 75.95 kB / 0.5728 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.4482, allocations: 35.34 kB / 0.5729 GB, free: 27.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.4483, allocations: 330.6 kB / 0.5732 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.4485, allocations: 131.9 kB / 0.5733 GB, free: 27.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.4488, allocations: 216.1 kB / 0.5735 GB, free: 26.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.4492, allocations: 372.6 kB / 0.5739 GB, free: 26.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4492, allocations: 1.969 kB / 0.5739 GB, free: 26.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008392/0.4501, allocations: 0.5047 MB / 0.5744 GB, free: 26.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4501, allocations: 5.312 kB / 0.5744 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.4501, allocations: 5 kB / 0.5744 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/0.4506, allocations: 147.7 kB / 0.5745 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.4509, allocations: 58.14 kB / 0.5746 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.4532, allocations: 3.977 MB / 0.5785 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4534, allocations: 18.61 kB / 0.5785 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.4534, allocations: 12.62 kB / 0.5785 GB, free: 22.58 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.0001748/0.4536, allocations: 163.5 kB / 0.5786 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.4537, allocations: 17.83 kB / 0.5787 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00087/0.4546, allocations: 475 kB / 0.5791 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4546, allocations: 3.219 kB / 0.5791 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4546, allocations: 2.062 kB / 0.5791 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4546, allocations: 7.062 kB / 0.5791 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.4561, allocations: 1.018 MB / 0.5801 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4561, allocations: 3.266 kB / 0.5801 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.4563, allocations: 29.44 kB / 0.5801 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.4567, allocations: 146.8 kB / 0.5803 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.4568, allocations: 13.31 kB / 0.5803 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/0.4591, allocations: 3.942 MB / 0.5841 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4591, allocations: 5.625 kB / 0.5842 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.4603, allocations: 0.6332 MB / 0.5848 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.4605, allocations: 131.5 kB / 0.5849 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.4606, allocations: 10.44 kB / 0.5849 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.4608, allocations: 18.17 kB / 0.5849 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.4609, allocations: 29.53 kB / 0.585 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.4609, allocations: 8.375 kB / 0.585 GB, free: 17.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.4612, allocations: 156.6 kB / 0.5851 GB, free: 17.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4612, allocations: 0 / 0.5851 GB, free: 17.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007616/0.4619, allocations: 95.83 kB / 0.5852 GB, free: 17.01 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.0002876/0.4622, allocations: 135.5 kB / 0.5853 GB, free: 16.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.4634, allocations: 0.5703 MB / 0.5859 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4634, allocations: 4.438 kB / 0.5859 GB, free: 16.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.464, allocations: 400.8 kB / 0.5863 GB, free: 16.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.4646, allocations: 39.02 kB / 0.5863 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.4659, allocations: 0.7952 MB / 0.5871 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4663, allocations: 0.7809 MB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.4664, allocations: 28.95 kB / 0.5879 GB, free: 15.01 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4664, allocations: 3.938 kB / 0.5879 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Templates: time 0.01142/0.4778, allocations: 7.579 MB / 0.5953 GB, free: 12.34 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)