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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.0009864/0.0009862, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 101.3 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5128/0.5128, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.354e-05, allocations: 4 kB / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3789, allocations: 69.5 MB / 0.5491 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.5325, allocations: 120.4 MB / 0.6667 GB, free: 11.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5329, allocations: 91.94 kB / 0.6668 GB, free: 11.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5139/1.047, allocations: 63.14 MB / 0.7284 GB, free: 81.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/1.047, allocations: 0 / 0.7284 GB, free: 81.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001642/1.047, allocations: 48.81 kB / 0.7285 GB, free: 81.93 MB / 490.7 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.006928/1.054, allocations: 2.59 MB / 0.731 GB, free: 79.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.054, allocations: 11.97 kB / 0.731 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004995/1.059, allocations: 0.7422 MB / 0.7317 GB, free: 78.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/1.064, allocations: 1.627 MB / 0.7333 GB, free: 76.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005892/1.064, allocations: 0.5666 MB / 0.7339 GB, free: 76.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004787/1.065, allocations: 159.8 kB / 0.734 GB, free: 76.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/1.068, allocations: 1.722 MB / 0.7357 GB, free: 74.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/1.068, allocations: 3.938 kB / 0.7357 GB, free: 74.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/1.068, allocations: 56 kB / 0.7358 GB, free: 74.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/1.068, allocations: 36 kB / 0.7358 GB, free: 74.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/1.071, allocations: 1.577 MB / 0.7373 GB, free: 72.56 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01473/1.085, allocations: 7.527 MB / 0.7447 GB, free: 64.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008614/1.094, allocations: 3.811 MB / 0.7484 GB, free: 60.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/1.096, allocations: 0.9234 MB / 0.7493 GB, free: 59.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/1.096, allocations: 33.27 kB / 0.7494 GB, free: 59.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001749/1.098, allocations: 1.116 MB / 0.7504 GB, free: 58.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=166): time 3.778e-06/1.098, allocations: 0 / 0.7504 GB, free: 58.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.01441/1.112, allocations: 5.005 MB / 0.7553 GB, free: 53.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/1.112, allocations: 171.5 kB / 0.7555 GB, free: 53.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/1.116, allocations: 1.847 MB / 0.7573 GB, free: 51.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006253/1.117, allocations: 61.67 kB / 0.7574 GB, free: 51.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/1.117, allocations: 0.8973 MB / 0.7582 GB, free: 50.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006878/1.118, allocations: 0.5814 MB / 0.7588 GB, free: 50.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/1.118, allocations: 32 kB / 0.7588 GB, free: 50.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/1.118, allocations: 373.9 kB / 0.7592 GB, free: 49.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/1.12, allocations: 0.8085 MB / 0.76 GB, free: 48.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/1.121, allocations: 1.007 MB / 0.761 GB, free: 47.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/1.123, allocations: 0.8767 MB / 0.7618 GB, free: 46.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.123, allocations: 0 / 0.7618 GB, free: 46.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006158/1.129, allocations: 2.755 MB / 0.7645 GB, free: 44.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003255/1.13, allocations: 1.13 MB / 0.7656 GB, free: 42.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.13, allocations: 4 kB / 0.7656 GB, free: 42.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007696/1.137, allocations: 2.702 MB / 0.7683 GB, free: 40.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.139, allocations: 263.7 kB / 0.7685 GB, free: 39.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005109/1.144, allocations: 2.804 MB / 0.7712 GB, free: 37.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/1.147, allocations: 358.1 kB / 0.7716 GB, free: 36.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003368/1.148, allocations: 59.97 kB / 0.7716 GB, free: 36.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.148, allocations: 4 kB / 0.7716 GB, free: 36.73 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004111/1.152, allocations: 2.475 MB / 0.7741 GB, free: 34.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.152, allocations: 7.938 kB / 0.7741 GB, free: 34.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007214/1.159, allocations: 2.616 MB / 0.7766 GB, free: 31.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.161, allocations: 259.7 kB / 0.7769 GB, free: 31.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/1.165, allocations: 2.625 MB / 0.7794 GB, free: 28.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003497/1.169, allocations: 326.3 kB / 0.7797 GB, free: 28.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/1.169, allocations: 63.98 kB / 0.7798 GB, free: 28.34 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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.0005272/1.17, allocations: 184.7 kB / 0.78 GB, free: 28.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007068/1.17, allocations: 229.2 kB / 0.7802 GB, free: 27.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.184, allocations: 5.197 MB / 0.7853 GB, free: 22.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.184, allocations: 24 kB / 0.7853 GB, free: 22.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.184, allocations: 0 / 0.7853 GB, free: 22.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.853e-05/1.184, allocations: 7.969 kB / 0.7853 GB, free: 22.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.203, allocations: 8.258 MB / 0.7934 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.203, allocations: 0 / 0.7934 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.204, allocations: 247.7 kB / 0.7936 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004874/1.209, allocations: 1.75 MB / 0.7953 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004533/1.21, allocations: 43.98 kB / 0.7954 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/1.225, allocations: 9.571 MB / 0.8047 GB, free: 2.387 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/1.225, allocations: 3.984 kB / 0.8047 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/1.244, allocations: 6.459 MB / 0.811 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.245, allocations: 401.7 kB / 0.8114 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007215/1.246, allocations: 40 kB / 0.8114 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/1.248, allocations: 247.8 kB / 0.8117 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009958/1.249, allocations: 281.5 kB / 0.8119 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.25, allocations: 47.98 kB / 0.812 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002694/1.252, allocations: 1.41 MB / 0.8134 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/1.252, allocations: 0 / 0.8134 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002861/1.255, allocations: 0.9592 MB / 0.8143 GB, free: 8.477 MB / 0.4948 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 () * 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.0005708/1.256, allocations: 273.4 kB / 0.8146 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.269, allocations: 4.595 MB / 0.819 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.269, allocations: 0 / 0.819 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005297/1.274, allocations: 2.065 MB / 0.8211 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/1.276, allocations: 215.5 kB / 0.8213 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/1.284, allocations: 3.534 MB / 0.8247 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.285, allocations: 1.537 MB / 0.8262 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00201/1.287, allocations: 366.9 kB / 0.8266 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/1.287, allocations: 91.42 kB / 0.8267 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/1.287, allocations: 0 / 0.8267 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.07381/1.361, allocations: 43.07 MB / 0.8687 GB, free: 0.6875 MB / 0.5417 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)