Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tests.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.000947, allocations: 98.03 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.337/1.337, 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.001466/0.001466, allocations: 172.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.0.1/package.mo): time 0.4662/0.4662, allocations: 78.56 MB / 420.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004267, allocations: 15.98 kB / 0.4887 GB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 69.36 MB / 0.5564 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad): time 0.234/0.3686, allocations: 5.68 MB / 0.5619 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.3727, allocations: 1.911 MB / 0.5638 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006478/0.3734, allocations: 10.03 kB / 0.5638 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.3739, allocations: 157.3 kB / 0.564 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.3754, allocations: 0.5862 MB / 0.5645 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.3767, allocations: 0.586 MB / 0.5651 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.378, allocations: 1.225 MB / 0.5663 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.3784, allocations: 294.1 kB / 0.5666 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.379, allocations: 469.1 kB / 0.567 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005973/0.3796, allocations: 0.6034 MB / 0.5676 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.3797, allocations: 49.22 kB / 0.5677 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.3801, allocations: 183.8 kB / 0.5679 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.3803, allocations: 222.1 kB / 0.5681 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.3807, allocations: 0.5405 MB / 0.5686 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.3819, allocations: 1.361 MB / 0.5699 GB, free: 33.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3819, allocations: 0.5 kB / 0.5699 GB, free: 33.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3819, allocations: 0.7188 kB / 0.5699 GB, free: 33.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.3819, allocations: 0 / 0.5699 GB, free: 33.93 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.006538/0.3884, allocations: 2.189 MB / 0.5721 GB, free: 33.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3885, allocations: 10.88 kB / 0.5721 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004061/0.3926, allocations: 0.6715 MB / 0.5727 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3937, allocations: 0.7431 MB / 0.5734 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.3939, allocations: 224.9 kB / 0.5737 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.3941, allocations: 75.11 kB / 0.5737 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.3962, allocations: 1.173 MB / 0.5749 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3963, allocations: 0 / 0.5749 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.3964, allocations: 37.66 kB / 0.5749 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3964, allocations: 16.16 kB / 0.5749 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.3986, allocations: 1.132 MB / 0.576 GB, free: 32.32 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.004599/0.4032, allocations: 3.028 MB / 0.579 GB, free: 31.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.4053, allocations: 1.35 MB / 0.5803 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.4068, allocations: 0.7828 MB / 0.5811 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-05/0.4069, allocations: 13.48 kB / 0.5811 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4069, allocations: 45.78 kB / 0.5811 GB, free: 30.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.326e-06/0.4069, allocations: 0 / 0.5811 GB, free: 30.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02614/0.4331, allocations: 7.598 MB / 0.5886 GB, free: 29.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.4332, allocations: 92.27 kB / 0.5886 GB, free: 29.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.4344, allocations: 0.8899 MB / 0.5895 GB, free: 29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002196/0.4347, allocations: 40.86 kB / 0.5896 GB, free: 28.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.4349, allocations: 476 kB / 0.59 GB, free: 28.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.4352, allocations: 321.6 kB / 0.5903 GB, free: 28.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.4354, allocations: 102.5 kB / 0.5904 GB, free: 28.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.4355, allocations: 346.7 kB / 0.5907 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.4371, allocations: 0.7471 MB / 0.5915 GB, free: 27.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.4387, allocations: 0.8802 MB / 0.5923 GB, free: 27.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.442, allocations: 1.608 MB / 0.5939 GB, free: 26.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.442, allocations: 1.281 kB / 0.5939 GB, free: 26.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01421/0.4563, allocations: 4.612 MB / 0.5984 GB, free: 25.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.4564, allocations: 155.2 kB / 0.5986 GB, free: 25.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4564, allocations: 2.312 kB / 0.5986 GB, free: 25.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006398/0.4628, allocations: 1.843 MB / 0.6004 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.464, allocations: 204 kB / 0.6005 GB, free: 25.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/0.4859, allocations: 9.108 MB / 0.6094 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.4876, allocations: 209.7 kB / 0.6096 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.4877, allocations: 39.75 kB / 0.6097 GB, free: 21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.4877, allocations: 5.844 kB / 0.6097 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01301/0.5007, allocations: 4.371 MB / 0.614 GB, free: 18.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.5008, allocations: 9.062 kB / 0.614 GB, free: 18.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005743/0.5065, allocations: 1.827 MB / 0.6157 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.5076, allocations: 199.8 kB / 0.6159 GB, free: 16.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/0.5252, allocations: 8.794 MB / 0.6245 GB, free: 7.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.5268, allocations: 187 kB / 0.6247 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/0.5269, allocations: 39.98 kB / 0.6247 GB, free: 7.387 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (thLoad.Limiter.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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 {(20,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006359/0.5275, allocations: 327.9 kB / 0.6251 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.5278, allocations: 114.6 kB / 0.6252 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.5394, allocations: 4.272 MB / 0.6293 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.5395, allocations: 16 kB / 0.6294 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5395, allocations: 3.938 kB / 0.6294 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.5395, allocations: 6.469 kB / 0.6294 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.5539, allocations: 5.742 MB / 0.635 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.554, allocations: 0 / 0.635 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007706/0.5547, allocations: 123.9 kB / 0.6351 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005717/0.5605, allocations: 1.793 MB / 0.6368 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.5607, allocations: 24.48 kB / 0.6369 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/0.5782, allocations: 7.815 MB / 0.6445 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5782, allocations: 0 / 0.6445 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/0.5931, allocations: 5.256 MB / 0.6496 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.5937, allocations: 199.5 kB / 0.6498 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.5938, allocations: 16 kB / 0.6498 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.5949, allocations: 143.9 kB / 0.65 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005862/0.5955, allocations: 180.7 kB / 0.6501 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.5956, allocations: 16.88 kB / 0.6502 GB, free: 13.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007771/0.5963, allocations: 0.6034 MB / 0.6507 GB, free: 12.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5964, allocations: 4 kB / 0.6507 GB, free: 12.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001996/0.5984, allocations: 0.6592 MB / 0.6514 GB, free: 11.76 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,thLoad.firstOrder.state,thLoad.Limiter.y) * 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 (51): * Single equations (assignments): 50 * 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 {(21,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002998/0.5987, allocations: 126.4 kB / 0.6515 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01168/0.6104, allocations: 4.35 MB / 0.6558 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.6104, allocations: 0 / 0.6558 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004661/0.6151, allocations: 1.658 MB / 0.6574 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6161, allocations: 100.7 kB / 0.6575 GB, free: 5.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.6206, allocations: 2.539 MB / 0.66 GB, free: 2.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.6212, allocations: 1.097 MB / 0.661 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005961/0.6218, allocations: 131.8 kB / 0.6612 GB, free: 1.715 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.622, allocations: 59.42 kB / 0.6612 GB, free: 1.656 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.622, allocations: 0 / 0.6612 GB, free: 1.656 MB / 462.1 MB Notification: Performance of Templates: time 0.03973/0.6618, allocations: 26.9 MB / 0.6875 GB, free: 6.961 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1) Environment - environmentSimulation: