Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB") translateModel(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009742, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.33/1.33, allocations: 223.3 MB / 239 MB, free: 5.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 176.6 kB / 290.3 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5069/0.5069, allocations: 91.91 MB / 433.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003681, allocations: 19.98 kB / 0.5042 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3156, allocations: 72.46 MB / 0.575 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB): time 0.006939/0.3226, allocations: 9.625 MB / 0.5844 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.3285, allocations: 4.179 MB / 0.5884 GB, free: 27.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.3296, allocations: 30 kB / 0.5885 GB, free: 27.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3307, allocations: 471.4 kB / 0.5889 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.3328, allocations: 0.9402 MB / 0.5898 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3345, allocations: 0.9128 MB / 0.5907 GB, free: 25.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.3373, allocations: 3.088 MB / 0.5937 GB, free: 24.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.3383, allocations: 0.5902 MB / 0.5943 GB, free: 24.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.3395, allocations: 1.009 MB / 0.5953 GB, free: 23.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.3408, allocations: 1.271 MB / 0.5965 GB, free: 23.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.3411, allocations: 119.9 kB / 0.5967 GB, free: 23.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006335/0.3417, allocations: 276.4 kB / 0.5969 GB, free: 23.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.3421, allocations: 476.8 kB / 0.5974 GB, free: 22.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.3425, allocations: 442 kB / 0.5978 GB, free: 22.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.345, allocations: 3.256 MB / 0.601 GB, free: 21.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3451, allocations: 1.188 kB / 0.601 GB, free: 21.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3451, allocations: 4 kB / 0.601 GB, free: 21.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.878e-05/0.3452, allocations: 0 / 0.601 GB, free: 21.73 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.01282/0.358, allocations: 4.022 MB / 0.6049 GB, free: 20.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.358, allocations: 9.5 kB / 0.6049 GB, free: 20.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/0.3623, allocations: 0.7303 MB / 0.6056 GB, free: 19.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.3656, allocations: 1.658 MB / 0.6072 GB, free: 18.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005/0.3662, allocations: 0.5756 MB / 0.6078 GB, free: 18.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/0.3665, allocations: 163.4 kB / 0.608 GB, free: 18.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.3707, allocations: 2.076 MB / 0.61 GB, free: 17.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.3708, allocations: 0 / 0.61 GB, free: 17.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.3709, allocations: 60.97 kB / 0.6101 GB, free: 17.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.371, allocations: 38.64 kB / 0.6101 GB, free: 17.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004328/0.3753, allocations: 2.014 MB / 0.6121 GB, free: 16.7 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.3881, allocations: 7.469 MB / 0.6193 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01/0.3982, allocations: 4.336 MB / 0.6236 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/0.4009, allocations: 1.249 MB / 0.6248 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.4011, allocations: 31.38 kB / 0.6248 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003018/0.4041, allocations: 1.438 MB / 0.6262 GB, free: 8.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 4.298e-06/0.4041, allocations: 0 / 0.6262 GB, free: 8.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.03771/0.4418, allocations: 11.92 MB / 0.6379 GB, free: 12.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.4419, allocations: 179.6 kB / 0.638 GB, free: 12.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/0.4461, allocations: 2.143 MB / 0.6401 GB, free: 10.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003639/0.4465, allocations: 65.7 kB / 0.6402 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007935/0.4473, allocations: 0.8694 MB / 0.6411 GB, free: 9.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008326/0.4481, allocations: 0.5931 MB / 0.6416 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000272/0.4484, allocations: 48 kB / 0.6417 GB, free: 8.797 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4486, allocations: 394.6 kB / 0.6421 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/0.4518, allocations: 1.344 MB / 0.6434 GB, free: 7.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/0.4551, allocations: 1.592 MB / 0.6449 GB, free: 5.406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.4585, allocations: 1.43 MB / 0.6463 GB, free: 3.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4585, allocations: 7.953 kB / 0.6463 GB, free: 3.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01364/0.4721, allocations: 5.407 MB / 0.6516 GB, free: 14.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.4723, allocations: 180.7 kB / 0.6518 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4723, allocations: 3.938 kB / 0.6518 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/0.4823, allocations: 3.269 MB / 0.655 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.4846, allocations: 383.5 kB / 0.6553 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008383/0.493, allocations: 3.653 MB / 0.6589 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/0.4963, allocations: 393.8 kB / 0.6593 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.4967, allocations: 83.97 kB / 0.6594 GB, free: 6.465 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.4967, allocations: 4 kB / 0.6594 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01255/0.5093, allocations: 4.975 MB / 0.6642 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5093, allocations: 4 kB / 0.6642 GB, free: 1.445 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009229/0.5186, allocations: 3.109 MB / 0.6673 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.5205, allocations: 387.5 kB / 0.6676 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.5277, allocations: 3.346 MB / 0.6709 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/0.5306, allocations: 350.1 kB / 0.6712 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/0.5309, allocations: 75.98 kB / 0.6713 GB, free: 10.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,genunit.iEEEG1_1.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 61} Notification: Performance of prepare postOptimizeDAE: time 0.001254/0.5322, allocations: 0.5059 MB / 0.6718 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006974/0.5329, allocations: 225.2 kB / 0.672 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/0.5502, allocations: 6.085 MB / 0.678 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.5503, allocations: 16 kB / 0.678 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.5503, allocations: 7.984 kB / 0.678 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.619e-05/0.5503, allocations: 11.95 kB / 0.678 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02311/0.5735, allocations: 9.124 MB / 0.6869 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.5735, allocations: 0 / 0.6869 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/0.575, allocations: 243.7 kB / 0.6871 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006813/0.5818, allocations: 2.257 MB / 0.6893 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002846/0.5821, allocations: 47.98 kB / 0.6894 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/0.608, allocations: 12.07 MB / 0.7012 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6081, allocations: 4 kB / 0.7012 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/0.6295, allocations: 7.661 MB / 0.7087 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009309/0.6305, allocations: 389.7 kB / 0.709 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000699/0.6312, allocations: 39.98 kB / 0.7091 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/0.6335, allocations: 247.8 kB / 0.7093 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008474/0.6344, allocations: 277.5 kB / 0.7096 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.6346, allocations: 43.98 kB / 0.7096 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002715/0.6373, allocations: 1.459 MB / 0.711 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6373, allocations: 7.938 kB / 0.711 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0032/0.6405, allocations: 1.03 MB / 0.7121 GB, free: 15.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 20 (infiniteBus.gENCLS.delta,infiniteBus.gENCLS.omega,infiniteBus.gENCLS.eq,genunit.gENROE.w,genunit.gENROE.delta,genunit.gENROE.Epd,genunit.gENROE.Epq,genunit.gENROE.PSIkd,genunit.gENROE.PSIkq,genunit.iEEEG1_1.imLeadLag.TF.x_scaled[1],genunit.iEEEG1_1.imSimpleLag.state,genunit.iEEEG1_1.imSimpleLag1.state,genunit.iEEEG1_1.imSimpleLag2.state,genunit.iEEEG1_1.imSimpleLag3.state,genunit.iEEEG1_1.limIntegrator.y,genunit.eSST1A1.imDerivativeLag.x,genunit.eSST1A1.imLeadLag.TF.x_scaled[1],genunit.eSST1A1.imLeadLag1.TF.x_scaled[1],genunit.eSST1A1.simpleLagLim.state,genunit.eSST1A1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00037/0.6409, allocations: 170.7 kB / 0.7122 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01606/0.657, allocations: 6.065 MB / 0.7181 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.657, allocations: 0.5625 kB / 0.7181 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006071/0.6631, allocations: 2.401 MB / 0.7205 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.6653, allocations: 224.3 kB / 0.7207 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009126/0.6745, allocations: 5.141 MB / 0.7257 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.6757, allocations: 1.487 MB / 0.7272 GB, free: 328 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001703/0.6775, allocations: 258.1 kB / 0.7274 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/0.6782, allocations: 123.4 kB / 0.7275 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.6782, allocations: 4 kB / 0.7275 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.06511/0.7434, allocations: 39.43 MB / 0.766 GB, free: 8.598 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.pipe 2>&1)