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.001047/0.001047, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.411/1.411, allocations: 223.3 MB / 239.4 MB, free: 5.414 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.001315/0.001315, allocations: 180.5 kB / 290.6 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5232/0.5232, allocations: 91.93 MB / 433.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 12 kB / 0.5048 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 72.45 MB / 0.5755 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB): time 0.007354/0.3446, allocations: 10.32 MB / 0.5856 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00653/0.3512, allocations: 4.356 MB / 0.5899 GB, free: 26.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.3531, allocations: 21.97 kB / 0.5899 GB, free: 26.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.3549, allocations: 0.5108 MB / 0.5904 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.3587, allocations: 1.081 MB / 0.5914 GB, free: 25.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.3611, allocations: 1.232 MB / 0.5926 GB, free: 24.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003845/0.365, allocations: 3.28 MB / 0.5958 GB, free: 23.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009466/0.3659, allocations: 0.6773 MB / 0.5965 GB, free: 22.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.3677, allocations: 1.013 MB / 0.5975 GB, free: 22.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.3694, allocations: 1.307 MB / 0.5988 GB, free: 21.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004565/0.3699, allocations: 116.8 kB / 0.5989 GB, free: 21.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.3708, allocations: 286.6 kB / 0.5992 GB, free: 21.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.3712, allocations: 492.8 kB / 0.5996 GB, free: 21.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.3723, allocations: 1.152 MB / 0.6008 GB, free: 20.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.3763, allocations: 3.843 MB / 0.6045 GB, free: 19.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3763, allocations: 1.219 kB / 0.6045 GB, free: 19.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3764, allocations: 4 kB / 0.6045 GB, free: 19.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001576/0.3765, allocations: 0 / 0.6045 GB, free: 19.54 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.01625/0.3928, allocations: 3.999 MB / 0.6084 GB, free: 17.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.3928, allocations: 9.875 kB / 0.6084 GB, free: 17.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.3978, allocations: 0.7307 MB / 0.6091 GB, free: 17.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/0.4017, allocations: 1.74 MB / 0.6108 GB, free: 16.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005483/0.4023, allocations: 0.5752 MB / 0.6114 GB, free: 16.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/0.4027, allocations: 158.2 kB / 0.6115 GB, free: 16.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/0.4074, allocations: 2.087 MB / 0.6136 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.4074, allocations: 11.86 kB / 0.6136 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.4076, allocations: 56.97 kB / 0.6137 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.4077, allocations: 33.72 kB / 0.6137 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005074/0.4127, allocations: 2.031 MB / 0.6157 GB, free: 14.43 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.01422/0.427, allocations: 7.464 MB / 0.623 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.4383, allocations: 4.347 MB / 0.6272 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/0.4417, allocations: 1.258 MB / 0.6284 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.4419, allocations: 38.27 kB / 0.6285 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003096/0.445, allocations: 1.453 MB / 0.6299 GB, free: 5.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 3.677e-06/0.445, allocations: 0 / 0.6299 GB, free: 5.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.04337/0.4884, allocations: 11.98 MB / 0.6416 GB, free: 9.391 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.4886, allocations: 171.5 kB / 0.6417 GB, free: 9.184 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/0.493, allocations: 2.167 MB / 0.6439 GB, free: 6.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005579/0.4936, allocations: 61.7 kB / 0.6439 GB, free: 6.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.4943, allocations: 0.8693 MB / 0.6448 GB, free: 6.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00089/0.4952, allocations: 0.597 MB / 0.6454 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.4956, allocations: 214.3 kB / 0.6456 GB, free: 5.215 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4957, allocations: 309.1 kB / 0.6458 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/0.4989, allocations: 1.355 MB / 0.6472 GB, free: 3.551 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/0.5023, allocations: 1.603 MB / 0.6487 GB, free: 1.895 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00615/0.5084, allocations: 2.793 MB / 0.6515 GB, free: 15.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.5084, allocations: 7.938 kB / 0.6515 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01308/0.5215, allocations: 5.052 MB / 0.6564 GB, free: 9.918 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.5217, allocations: 191 kB / 0.6566 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5217, allocations: 0 / 0.6566 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/0.5325, allocations: 3.218 MB / 0.6597 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.5347, allocations: 383.5 kB / 0.6601 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008928/0.5437, allocations: 3.65 MB / 0.6637 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/0.5473, allocations: 401.6 kB / 0.664 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/0.5476, allocations: 79.98 kB / 0.6641 GB, free: 1.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5476, allocations: 4 kB / 0.6641 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01206/0.5597, allocations: 4.632 MB / 0.6686 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.5597, allocations: 0 / 0.6686 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/0.5702, allocations: 3.128 MB / 0.6717 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.5725, allocations: 375.5 kB / 0.6721 GB, free: 9.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00852/0.5811, allocations: 3.346 MB / 0.6753 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/0.5847, allocations: 354 kB / 0.6757 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/0.5852, allocations: 83.92 kB / 0.6757 GB, free: 5.965 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.001585/0.5868, allocations: 0.5046 MB / 0.6762 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007828/0.5876, allocations: 233.1 kB / 0.6765 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01913/0.6067, allocations: 6.085 MB / 0.6824 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.6068, allocations: 16 kB / 0.6824 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6068, allocations: 4 kB / 0.6824 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.446e-05/0.6068, allocations: 7.969 kB / 0.6824 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0241/0.6309, allocations: 9.132 MB / 0.6913 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.631, allocations: 0 / 0.6913 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/0.6326, allocations: 251.7 kB / 0.6916 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007574/0.6402, allocations: 2.257 MB / 0.6938 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003519/0.6405, allocations: 39.98 kB / 0.6938 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/0.6683, allocations: 12.1 MB / 0.7056 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6683, allocations: 4.062 kB / 0.7057 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02301/0.6913, allocations: 7.68 MB / 0.7132 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.6926, allocations: 393.7 kB / 0.7135 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005913/0.6932, allocations: 36 kB / 0.7136 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/0.6955, allocations: 259.8 kB / 0.7138 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008598/0.6964, allocations: 265.6 kB / 0.7141 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.6965, allocations: 39.98 kB / 0.7141 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002889/0.6994, allocations: 1.479 MB / 0.7155 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6994, allocations: 0 / 0.7155 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002859/0.7023, allocations: 1.037 MB / 0.7166 GB, free: 11.64 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.0003799/0.7027, allocations: 177.5 kB / 0.7167 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01655/0.7192, allocations: 6.092 MB / 0.7227 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7193, allocations: 4 kB / 0.7227 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006446/0.7257, allocations: 2.402 MB / 0.725 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.7277, allocations: 223.3 kB / 0.7252 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/0.7359, allocations: 5.379 MB / 0.7305 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.737, allocations: 1.487 MB / 0.7319 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001246/0.7382, allocations: 262.1 kB / 0.7322 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.7387, allocations: 123.4 kB / 0.7323 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of SimCode: time 7.02e-07/0.7387, allocations: 0 / 0.7323 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.06436/0.8031, allocations: 40.6 MB / 0.772 GB, free: 2.875 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)