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.001287/0.001287, allocations: 113.5 kB / 16.64 MB, free: 6.371 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.001423/0.001423, allocations: 189.4 kB / 17.56 MB, free: 5.797 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.393/1.393, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7946/0.7946, allocations: 125.4 MB / 416.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.88 kB / 0.4943 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3684, allocations: 78.55 MB / 0.571 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004284/0.3728, allocations: 3.103 MB / 0.574 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.3755, allocations: 1.892 MB / 0.5759 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.3757, allocations: 3.406 kB / 0.5759 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.3766, allocations: 273.3 kB / 0.5761 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.3771, allocations: 178.7 kB / 0.5763 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.3778, allocations: 218.8 kB / 0.5765 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.3782, allocations: 326.8 kB / 0.5768 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.3786, allocations: 208.9 kB / 0.577 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3787, allocations: 127.1 kB / 0.5772 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.379, allocations: 154.6 kB / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.3791, allocations: 21.09 kB / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000696/0.3798, allocations: 407.6 kB / 0.5777 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.3799, allocations: 87.84 kB / 0.5778 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.38, allocations: 116.5 kB / 0.5779 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.3806, allocations: 381.9 kB / 0.5783 GB, free: 26.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3806, allocations: 2.031 kB / 0.5783 GB, free: 26.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3806, allocations: 0 / 0.5783 GB, free: 26.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3806, allocations: 1.406 kB / 0.5783 GB, free: 26.47 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.0008268/0.3814, allocations: 0.5555 MB / 0.5788 GB, free: 25.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3815, allocations: 9.625 kB / 0.5788 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008366/0.3823, allocations: 115.3 kB / 0.5789 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.3826, allocations: 265.8 kB / 0.5792 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3827, allocations: 17.52 kB / 0.5792 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.3827, allocations: 18 kB / 0.5792 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.3833, allocations: 356.6 kB / 0.5796 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3833, allocations: 1.781 kB / 0.5796 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.3833, allocations: 6.625 kB / 0.5796 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.3834, allocations: 26.64 kB / 0.5796 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.3838, allocations: 290.6 kB / 0.5799 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.3857, allocations: 1.746 MB / 0.5816 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.3862, allocations: 319.4 kB / 0.5819 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3864, allocations: 107 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-05/0.3865, allocations: 90.58 kB / 0.5821 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3865, allocations: 39.36 kB / 0.5821 GB, free: 23.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3865, allocations: 96 / 0.5821 GB, free: 23.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002397/0.3889, allocations: 0.9698 MB / 0.5831 GB, free: 23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.3889, allocations: 85.27 kB / 0.5831 GB, free: 22.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.3892, allocations: 212.1 kB / 0.5833 GB, free: 22.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3892, allocations: 30.3 kB / 0.5834 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.3893, allocations: 174.7 kB / 0.5835 GB, free: 22.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.3893, allocations: 80.72 kB / 0.5836 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.3894, allocations: 67.14 kB / 0.5837 GB, free: 22.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.3895, allocations: 332.2 kB / 0.584 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.3897, allocations: 128.6 kB / 0.5841 GB, free: 22.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.3899, allocations: 215.2 kB / 0.5843 GB, free: 21.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.3903, allocations: 368.6 kB / 0.5847 GB, free: 21.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3904, allocations: 3.281 kB / 0.5847 GB, free: 21.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007642/0.3911, allocations: 0.5034 MB / 0.5852 GB, free: 21.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3912, allocations: 5.062 kB / 0.5852 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3912, allocations: 3.656 kB / 0.5852 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.3917, allocations: 161.6 kB / 0.5853 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.392, allocations: 62.16 kB / 0.5854 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.3943, allocations: 4.191 MB / 0.5895 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.3945, allocations: 21.25 kB / 0.5895 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.3946, allocations: 10 kB / 0.5895 GB, free: 17.06 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.0001963/0.3948, allocations: 169.8 kB / 0.5897 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.3949, allocations: 17.75 kB / 0.5897 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008551/0.3957, allocations: 482.2 kB / 0.5902 GB, free: 16.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3957, allocations: 3.75 kB / 0.5902 GB, free: 16.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3957, allocations: 2.312 kB / 0.5902 GB, free: 16.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3958, allocations: 3.984 kB / 0.5902 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.3972, allocations: 1.006 MB / 0.5911 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3972, allocations: 2.531 kB / 0.5911 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.3974, allocations: 34.55 kB / 0.5912 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/0.3977, allocations: 140.6 kB / 0.5913 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3978, allocations: 8.5 kB / 0.5913 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.3998, allocations: 4.183 MB / 0.5954 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3999, allocations: 2.688 kB / 0.5954 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.4006, allocations: 0.6201 MB / 0.596 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4007, allocations: 126.5 kB / 0.5961 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.4007, allocations: 12.94 kB / 0.5961 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.401, allocations: 21.27 kB / 0.5962 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.401, allocations: 27.03 kB / 0.5962 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.4011, allocations: 8.625 kB / 0.5962 GB, free: 10.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.4012, allocations: 164.7 kB / 0.5964 GB, free: 10.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4012, allocations: 1.312 kB / 0.5964 GB, free: 10.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005943/0.4018, allocations: 85.47 kB / 0.5964 GB, free: 10.77 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.0002306/0.402, allocations: 144.9 kB / 0.5966 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009523/0.403, allocations: 0.5956 MB / 0.5972 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.403, allocations: 1 kB / 0.5972 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.4035, allocations: 396.4 kB / 0.5975 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.404, allocations: 46.78 kB / 0.5976 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4051, allocations: 0.7708 MB / 0.5983 GB, free: 9.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4054, allocations: 0.7809 MB / 0.5991 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.4054, allocations: 26.41 kB / 0.5991 GB, free: 8.547 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4054, allocations: 0 / 0.5991 GB, free: 8.547 MB / 446.1 MB Notification: Performance of Templates: time 0.008495/0.4139, allocations: 7.621 MB / 0.6066 GB, free: 1.809 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)