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.001618/0.001618, allocations: 101.9 kB / 16.27 MB, free: 5.98 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.00161/0.00161, allocations: 189.9 kB / 17.2 MB, free: 5.609 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7334/0.7334, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.4911 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.481, allocations: 77.92 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006156/0.4872, allocations: 3.059 MB / 0.5702 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.4911, allocations: 1.912 MB / 0.572 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.4913, allocations: 4.906 kB / 0.572 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.4924, allocations: 275.7 kB / 0.5723 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.4929, allocations: 194.1 kB / 0.5725 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007769/0.4937, allocations: 250.8 kB / 0.5727 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.4943, allocations: 313.7 kB / 0.573 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005745/0.4948, allocations: 191.9 kB / 0.5732 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.4951, allocations: 132.3 kB / 0.5733 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.4955, allocations: 147.7 kB / 0.5735 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.4956, allocations: 21.25 kB / 0.5735 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.4966, allocations: 399.7 kB / 0.5739 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4968, allocations: 93.16 kB / 0.574 GB, free: 28.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.497, allocations: 116 kB / 0.5741 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008468/0.4978, allocations: 491.2 kB / 0.5746 GB, free: 28.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4979, allocations: 4.969 kB / 0.5746 GB, free: 28.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.4979, allocations: 0.6562 kB / 0.5746 GB, free: 28.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.4979, allocations: 0.5312 kB / 0.5746 GB, free: 28.23 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.00101/0.4989, allocations: 0.5529 MB / 0.5751 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.499, allocations: 13.78 kB / 0.5751 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009141/0.4999, allocations: 106.9 kB / 0.5752 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.5002, allocations: 263.6 kB / 0.5755 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.5003, allocations: 21.77 kB / 0.5755 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.5003, allocations: 16.94 kB / 0.5755 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.5009, allocations: 361.9 kB / 0.5758 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.501, allocations: 0.5312 kB / 0.5758 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.501, allocations: 8.094 kB / 0.5759 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.708e-05/0.5011, allocations: 27.06 kB / 0.5759 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.5016, allocations: 290.8 kB / 0.5762 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.5038, allocations: 1.749 MB / 0.5779 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.5043, allocations: 320.3 kB / 0.5782 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.5045, allocations: 111.1 kB / 0.5783 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-05/0.5046, allocations: 91.23 kB / 0.5784 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5046, allocations: 37.41 kB / 0.5784 GB, free: 25.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/0.5046, allocations: 1.656 kB / 0.5784 GB, free: 25.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002598/0.5072, allocations: 0.9513 MB / 0.5793 GB, free: 24.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.5073, allocations: 88.53 kB / 0.5794 GB, free: 24.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.5075, allocations: 214.7 kB / 0.5796 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.5075, allocations: 31.08 kB / 0.5796 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.5076, allocations: 173.6 kB / 0.5798 GB, free: 24.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.5077, allocations: 80.53 kB / 0.5799 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.5078, allocations: 64.05 kB / 0.58 GB, free: 24.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.5079, allocations: 331.5 kB / 0.5803 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.5081, allocations: 126.8 kB / 0.5804 GB, free: 24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.5083, allocations: 215.4 kB / 0.5806 GB, free: 23.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.5087, allocations: 366.5 kB / 0.5809 GB, free: 23.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5088, allocations: 0.875 kB / 0.5809 GB, free: 23.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008304/0.5096, allocations: 0.5078 MB / 0.5814 GB, free: 23.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5096, allocations: 6.188 kB / 0.5814 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5096, allocations: 3.125 kB / 0.5815 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/0.5102, allocations: 154.7 kB / 0.5816 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.5104, allocations: 58.2 kB / 0.5817 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.5127, allocations: 4.191 MB / 0.5857 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.5129, allocations: 18.86 kB / 0.5858 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.5129, allocations: 14.25 kB / 0.5858 GB, free: 19.18 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.0001678/0.5131, allocations: 168.4 kB / 0.5859 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.5132, allocations: 18.12 kB / 0.586 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000781/0.5139, allocations: 480.6 kB / 0.5864 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.514, allocations: 4.656 kB / 0.5864 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.514, allocations: 3.938 kB / 0.5864 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.514, allocations: 5.484 kB / 0.5864 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.5153, allocations: 1.017 MB / 0.5874 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5154, allocations: 3.219 kB / 0.5874 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.5155, allocations: 38.06 kB / 0.5875 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003664/0.5159, allocations: 137.2 kB / 0.5876 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.5159, allocations: 12.38 kB / 0.5876 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.518, allocations: 4.178 MB / 0.5917 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5181, allocations: 1.719 kB / 0.5917 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008362/0.5189, allocations: 0.6201 MB / 0.5923 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.519, allocations: 127.3 kB / 0.5924 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.5191, allocations: 11.94 kB / 0.5924 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.5193, allocations: 22 kB / 0.5924 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.5194, allocations: 23.05 kB / 0.5925 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.5194, allocations: 11.16 kB / 0.5925 GB, free: 13.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.5196, allocations: 162.9 kB / 0.5926 GB, free: 12.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5196, allocations: 0 / 0.5926 GB, free: 12.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006173/0.5202, allocations: 89.75 kB / 0.5927 GB, free: 12.88 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.0002231/0.5204, allocations: 131.9 kB / 0.5928 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009858/0.5214, allocations: 0.598 MB / 0.5934 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5215, allocations: 0 / 0.5934 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.5219, allocations: 403.1 kB / 0.5938 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.5225, allocations: 48.17 kB / 0.5939 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5236, allocations: 0.6331 MB / 0.5945 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.5239, allocations: 0.7843 MB / 0.5952 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.524, allocations: 59.69 kB / 0.5953 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.5241, allocations: 18.56 kB / 0.5953 GB, free: 10.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5241, allocations: 0 / 0.5953 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Templates: time 0.00852/0.5326, allocations: 4.144 MB / 0.5994 GB, free: 8.426 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)