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.001093/0.001093, allocations: 109.8 kB / 17.03 MB, free: 5.699 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.001163/0.001163, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7883/0.7883, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 68.14 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3609, allocations: 76.13 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003917/0.3649, allocations: 3.054 MB / 0.5605 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.3674, allocations: 1.909 MB / 0.5624 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3675, allocations: 5.031 kB / 0.5624 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007949/0.3684, allocations: 277.9 kB / 0.5627 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.3688, allocations: 198 kB / 0.5629 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.3694, allocations: 242.3 kB / 0.5631 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.3697, allocations: 322.6 kB / 0.5634 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.37, allocations: 193.8 kB / 0.5636 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.3702, allocations: 127.3 kB / 0.5637 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.3704, allocations: 153.1 kB / 0.5639 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.3705, allocations: 20.81 kB / 0.5639 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.371, allocations: 402 kB / 0.5643 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.3711, allocations: 88.08 kB / 0.5643 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3713, allocations: 115.5 kB / 0.5645 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006047/0.3719, allocations: 497.8 kB / 0.5649 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3719, allocations: 1.156 kB / 0.5649 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3719, allocations: 0 / 0.5649 GB, free: 32.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3719, allocations: 0 / 0.5649 GB, free: 32.22 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.0007595/0.3727, allocations: 0.5521 MB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3727, allocations: 9.5 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.3735, allocations: 113.9 kB / 0.5656 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3739, allocations: 269.5 kB / 0.5658 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3739, allocations: 12.44 kB / 0.5659 GB, free: 31.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.3739, allocations: 21.22 kB / 0.5659 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.3744, allocations: 358.4 kB / 0.5662 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3744, allocations: 1.406 kB / 0.5662 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.3745, allocations: 11.47 kB / 0.5662 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.3745, allocations: 25.88 kB / 0.5663 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.375, allocations: 291.8 kB / 0.5665 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.3768, allocations: 1.745 MB / 0.5682 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.3773, allocations: 318.7 kB / 0.5685 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3774, allocations: 110 kB / 0.5686 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/0.3775, allocations: 91.02 kB / 0.5687 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.3775, allocations: 35.14 kB / 0.5688 GB, free: 29.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3775, allocations: 0 / 0.5688 GB, free: 29.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002264/0.3798, allocations: 0.9652 MB / 0.5697 GB, free: 28.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.3798, allocations: 86.19 kB / 0.5698 GB, free: 28.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.38, allocations: 212.1 kB / 0.57 GB, free: 28.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3801, allocations: 31.02 kB / 0.57 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.3801, allocations: 175.1 kB / 0.5702 GB, free: 28.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.3802, allocations: 81.16 kB / 0.5703 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.3803, allocations: 57.23 kB / 0.5703 GB, free: 28.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.3804, allocations: 329.7 kB / 0.5706 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.3806, allocations: 131.4 kB / 0.5708 GB, free: 27.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.3808, allocations: 216.7 kB / 0.571 GB, free: 27.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.3812, allocations: 369.5 kB / 0.5713 GB, free: 27.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3813, allocations: 1.938 kB / 0.5713 GB, free: 27.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009061/0.3822, allocations: 0.5124 MB / 0.5718 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3822, allocations: 5.75 kB / 0.5718 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3822, allocations: 4.672 kB / 0.5718 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.3828, allocations: 152.3 kB / 0.572 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.383, allocations: 61.22 kB / 0.572 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.3856, allocations: 4.18 MB / 0.5761 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.3858, allocations: 22.12 kB / 0.5761 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.3858, allocations: 10.52 kB / 0.5761 GB, free: 23.31 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.0001537/0.386, allocations: 168.1 kB / 0.5763 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.3861, allocations: 22.56 kB / 0.5763 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007852/0.3869, allocations: 475.9 kB / 0.5768 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3869, allocations: 4.641 kB / 0.5768 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3869, allocations: 1.438 kB / 0.5768 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3869, allocations: 1.266 kB / 0.5768 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.3884, allocations: 1.018 MB / 0.5778 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3884, allocations: 2.656 kB / 0.5778 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.3885, allocations: 35.02 kB / 0.5778 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003961/0.3889, allocations: 143 kB / 0.578 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.389, allocations: 9.016 kB / 0.578 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.3915, allocations: 4.182 MB / 0.582 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.3915, allocations: 3.406 kB / 0.5821 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/0.3924, allocations: 0.6234 MB / 0.5827 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3926, allocations: 122.2 kB / 0.5828 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.3927, allocations: 12.67 kB / 0.5828 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3929, allocations: 23.08 kB / 0.5828 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.393, allocations: 24.55 kB / 0.5828 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.393, allocations: 9.5 kB / 0.5828 GB, free: 17.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.3932, allocations: 155.4 kB / 0.583 GB, free: 17.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3932, allocations: 0 / 0.583 GB, free: 17.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007049/0.3939, allocations: 87.81 kB / 0.5831 GB, free: 17.54 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.0002742/0.3942, allocations: 139 kB / 0.5832 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.3953, allocations: 0.5863 MB / 0.5838 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3954, allocations: 1.406 kB / 0.5838 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005328/0.3959, allocations: 403 kB / 0.5842 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.3964, allocations: 53.73 kB / 0.5842 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3976, allocations: 0.6118 MB / 0.5848 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.398, allocations: 0.7813 MB / 0.5856 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.3981, allocations: 60.02 kB / 0.5856 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.3982, allocations: 22.52 kB / 0.5857 GB, free: 15.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3982, allocations: 0 / 0.5857 GB, free: 15.65 MB / 446.1 MB Notification: Performance of Templates: time 0.009359/0.4076, allocations: 4.17 MB / 0.5897 GB, free: 14.79 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)