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.0009183/0.0009183, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.3 MB / 240 MB, free: 5.531 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.0009496/0.0009496, allocations: 179.5 kB / 291.3 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4906/0.4906, allocations: 91.93 MB / 434.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 15.94 kB / 0.5054 GB, free: 7.242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 72.47 MB / 0.5762 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB): time 0.006825/0.309, allocations: 10.32 MB / 0.5863 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.3143, allocations: 4.358 MB / 0.5905 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008137/0.3151, allocations: 24.19 kB / 0.5905 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.3162, allocations: 0.5124 MB / 0.591 GB, free: 26.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.3182, allocations: 1.07 MB / 0.5921 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.3199, allocations: 1.236 MB / 0.5933 GB, free: 24.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.3225, allocations: 3.277 MB / 0.5965 GB, free: 23.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007861/0.3233, allocations: 0.676 MB / 0.5972 GB, free: 22.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.3243, allocations: 1.029 MB / 0.5982 GB, free: 22.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.3254, allocations: 1.3 MB / 0.5994 GB, free: 21.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.3257, allocations: 116.2 kB / 0.5995 GB, free: 21.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.3263, allocations: 289.8 kB / 0.5998 GB, free: 21.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.3266, allocations: 488.8 kB / 0.6003 GB, free: 21.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007269/0.3273, allocations: 1.147 MB / 0.6014 GB, free: 20.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.3298, allocations: 3.25 MB / 0.6046 GB, free: 19.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3298, allocations: 0 / 0.6046 GB, free: 19.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3298, allocations: 5.188 kB / 0.6046 GB, free: 19.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.225e-05/0.3299, allocations: 0 / 0.6046 GB, free: 19.77 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.01319/0.3431, allocations: 4.001 MB / 0.6085 GB, free: 18.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3431, allocations: 9.844 kB / 0.6085 GB, free: 18.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/0.3474, allocations: 0.7318 MB / 0.6092 GB, free: 17.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.3505, allocations: 1.743 MB / 0.6109 GB, free: 16.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005297/0.3511, allocations: 0.5755 MB / 0.6115 GB, free: 16.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.3514, allocations: 162.5 kB / 0.6116 GB, free: 16.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004284/0.3557, allocations: 2.082 MB / 0.6137 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.3557, allocations: 4.594 kB / 0.6137 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.3559, allocations: 56 kB / 0.6137 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.356, allocations: 34.19 kB / 0.6138 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/0.3605, allocations: 2.029 MB / 0.6157 GB, free: 14.65 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.01182/0.3724, allocations: 7.466 MB / 0.623 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.3834, allocations: 4.354 MB / 0.6273 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/0.3862, allocations: 1.27 MB / 0.6285 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.3863, allocations: 30.47 kB / 0.6285 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0029/0.3893, allocations: 1.444 MB / 0.63 GB, free: 6.039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 3.597e-06/0.3893, allocations: 0 / 0.63 GB, free: 6.039 MB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.04256/0.4318, allocations: 11.98 MB / 0.6417 GB, free: 10 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/0.432, allocations: 175.5 kB / 0.6418 GB, free: 9.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003826/0.4358, allocations: 2.163 MB / 0.6439 GB, free: 7.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003703/0.4362, allocations: 61.7 kB / 0.644 GB, free: 7.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007169/0.4369, allocations: 0.8732 MB / 0.6448 GB, free: 6.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006691/0.4376, allocations: 0.5931 MB / 0.6454 GB, free: 6.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/0.4379, allocations: 210.3 kB / 0.6456 GB, free: 5.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.438, allocations: 309 kB / 0.6459 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.4411, allocations: 1.359 MB / 0.6472 GB, free: 4.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/0.4444, allocations: 1.596 MB / 0.6488 GB, free: 2.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006075/0.4505, allocations: 2.797 MB / 0.6515 GB, free: 15.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4505, allocations: 0 / 0.6515 GB, free: 15.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01272/0.4632, allocations: 5.056 MB / 0.6565 GB, free: 10.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.4634, allocations: 190.9 kB / 0.6567 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4634, allocations: 4 kB / 0.6567 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.4738, allocations: 3.214 MB / 0.6598 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.4758, allocations: 383.5 kB / 0.6602 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008618/0.4844, allocations: 3.65 MB / 0.6637 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.4878, allocations: 405.6 kB / 0.6641 GB, free: 2.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.488, allocations: 75.98 kB / 0.6642 GB, free: 2.562 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4881, allocations: 4 kB / 0.6642 GB, free: 2.559 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01188/0.4999, allocations: 4.632 MB / 0.6687 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5, allocations: 8.062 kB / 0.6687 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.5101, allocations: 3.117 MB / 0.6718 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.512, allocations: 379.5 kB / 0.6721 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007697/0.5197, allocations: 3.35 MB / 0.6754 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.5227, allocations: 358 kB / 0.6757 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.523, allocations: 75.98 kB / 0.6758 GB, free: 6.578 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 ($whenCondition2,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,61)} Notification: Performance of prepare postOptimizeDAE: time 0.001232/0.5242, allocations: 0.5085 MB / 0.6763 GB, free: 6.059 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/0.5249, allocations: 233.1 kB / 0.6765 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/0.5439, allocations: 6.085 MB / 0.6825 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.5439, allocations: 16 kB / 0.6825 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.5439, allocations: 3.938 kB / 0.6825 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/0.544, allocations: 7.969 kB / 0.6825 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/0.5673, allocations: 9.124 MB / 0.6914 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.5673, allocations: 4 kB / 0.6914 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.5689, allocations: 251.7 kB / 0.6917 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007488/0.5764, allocations: 2.261 MB / 0.6939 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/0.5767, allocations: 36 kB / 0.6939 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02813/0.6049, allocations: 12.1 MB / 0.7057 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6049, allocations: 0 / 0.7057 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/0.6277, allocations: 7.684 MB / 0.7132 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009863/0.6288, allocations: 385.7 kB / 0.7136 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007077/0.6295, allocations: 47.94 kB / 0.7136 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/0.6321, allocations: 251.8 kB / 0.7139 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008521/0.6329, allocations: 261.6 kB / 0.7141 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.6331, allocations: 51.98 kB / 0.7142 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002861/0.636, allocations: 1.471 MB / 0.7156 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.636, allocations: 288 / 0.7156 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002992/0.639, allocations: 1.037 MB / 0.7166 GB, free: 12.25 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (22,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003852/0.6394, allocations: 174.3 kB / 0.7168 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01658/0.656, allocations: 6.096 MB / 0.7227 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.656, allocations: 0 / 0.7227 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006391/0.6624, allocations: 2.406 MB / 0.7251 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.6644, allocations: 234.2 kB / 0.7253 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008751/0.6732, allocations: 5.435 MB / 0.7306 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.6743, allocations: 1.483 MB / 0.7321 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/0.6751, allocations: 131.4 kB / 0.7322 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.6751, allocations: 0 / 0.7322 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.05155/0.7266, allocations: 42.99 MB / 0.7742 GB, free: 1.211 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)