Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009551/0.0009551, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.226/1.226, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.0013/0.0013, allocations: 189 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4782/0.4782, allocations: 79.45 MB / 420.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.000423, allocations: 12 kB / 0.4891 GB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 69.49 MB / 0.557 GB, free: 37.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad): time 0.004089/0.3307, allocations: 5.137 MB / 0.562 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.3332, allocations: 1.839 MB / 0.5638 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.3336, allocations: 15.06 kB / 0.5638 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.3339, allocations: 142.9 kB / 0.5639 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3351, allocations: 0.5998 MB / 0.5645 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3361, allocations: 0.5252 MB / 0.565 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008826/0.337, allocations: 0.819 MB / 0.5658 GB, free: 37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.3374, allocations: 276.7 kB / 0.5661 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.3377, allocations: 452.6 kB / 0.5665 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.3383, allocations: 0.5681 MB / 0.5671 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.995e-05/0.3384, allocations: 51.44 kB / 0.5671 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.3388, allocations: 164.8 kB / 0.5673 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.339, allocations: 208.6 kB / 0.5675 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3391, allocations: 208.5 kB / 0.5677 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000747/0.3398, allocations: 1.027 MB / 0.5687 GB, free: 36.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.3399, allocations: 0 / 0.5687 GB, free: 36.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3399, allocations: 1.031 kB / 0.5687 GB, free: 36.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3399, allocations: 1.062 kB / 0.5687 GB, free: 36.36 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.006295/0.3462, allocations: 2.196 MB / 0.5708 GB, free: 35.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3462, allocations: 8.594 kB / 0.5708 GB, free: 35.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.3464, allocations: 123 kB / 0.5709 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/0.3504, allocations: 0.6698 MB / 0.5716 GB, free: 35.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009763/0.3514, allocations: 0.7044 MB / 0.5723 GB, free: 35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.3516, allocations: 224.5 kB / 0.5725 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3517, allocations: 80.97 kB / 0.5726 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.3537, allocations: 1.16 MB / 0.5737 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3537, allocations: 3.953 kB / 0.5737 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-05/0.3538, allocations: 33.66 kB / 0.5737 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.3539, allocations: 16.91 kB / 0.5738 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.356, allocations: 1.12 MB / 0.5749 GB, free: 34.01 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.004327/0.3603, allocations: 3.026 MB / 0.5778 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.3623, allocations: 1.361 MB / 0.5791 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.337e-05/0.3624, allocations: 8.844 kB / 0.5791 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3624, allocations: 40.97 kB / 0.5792 GB, free: 31.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.294e-06/0.3624, allocations: 0 / 0.5792 GB, free: 31.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02476/0.3872, allocations: 7.558 MB / 0.5866 GB, free: 30.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3873, allocations: 91.42 kB / 0.5867 GB, free: 30.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3884, allocations: 0.8779 MB / 0.5875 GB, free: 29.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.3886, allocations: 41.61 kB / 0.5876 GB, free: 29.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.3889, allocations: 473.1 kB / 0.588 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.3891, allocations: 320.7 kB / 0.5883 GB, free: 29.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.3892, allocations: 24.5 kB / 0.5883 GB, free: 29.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.3893, allocations: 344.1 kB / 0.5887 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.3908, allocations: 0.7412 MB / 0.5894 GB, free: 28.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.3924, allocations: 0.8787 MB / 0.5902 GB, free: 28.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.394, allocations: 0.7858 MB / 0.591 GB, free: 27.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.394, allocations: 1.219 kB / 0.591 GB, free: 27.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01313/0.4071, allocations: 4.596 MB / 0.5955 GB, free: 26.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.4073, allocations: 0.8851 MB / 0.5964 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4073, allocations: 5.5 kB / 0.5964 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/0.4136, allocations: 1.862 MB / 0.5982 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.4146, allocations: 194.2 kB / 0.5984 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/0.436, allocations: 9.513 MB / 0.6077 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.4376, allocations: 210.4 kB / 0.6079 GB, free: 21.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.4377, allocations: 37.78 kB / 0.6079 GB, free: 21.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4377, allocations: 4.594 kB / 0.6079 GB, free: 21.32 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01277/0.4505, allocations: 4.368 MB / 0.6122 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4505, allocations: 5.25 kB / 0.6122 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005664/0.4562, allocations: 1.822 MB / 0.614 GB, free: 18.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.4572, allocations: 205.1 kB / 0.6141 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.475, allocations: 9.17 MB / 0.6231 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.4764, allocations: 203.9 kB / 0.6233 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.4765, allocations: 43.98 kB / 0.6233 GB, free: 8.539 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 (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 {20 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004881/0.477, allocations: 315 kB / 0.6236 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.4772, allocations: 114.6 kB / 0.6237 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.4887, allocations: 4.27 MB / 0.6279 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4887, allocations: 16 kB / 0.6279 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4887, allocations: 1.188 kB / 0.6279 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.4887, allocations: 4.734 kB / 0.6279 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.5024, allocations: 5.738 MB / 0.6335 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.5024, allocations: 0 / 0.6335 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006984/0.5031, allocations: 123.9 kB / 0.6337 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00587/0.509, allocations: 1.802 MB / 0.6354 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.5091, allocations: 16 kB / 0.6354 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/0.5276, allocations: 8.19 MB / 0.6434 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5276, allocations: 4.984 kB / 0.6434 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/0.5424, allocations: 5.244 MB / 0.6486 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.5428, allocations: 203.5 kB / 0.6488 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.543, allocations: 19.95 kB / 0.6488 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.5441, allocations: 136.4 kB / 0.6489 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005433/0.5446, allocations: 188.7 kB / 0.6491 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.5447, allocations: 20 kB / 0.6491 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007761/0.5455, allocations: 0.5995 MB / 0.6497 GB, free: 13.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5455, allocations: 0 / 0.6497 GB, free: 13.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001876/0.5474, allocations: 0.6553 MB / 0.6503 GB, free: 12.57 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 (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 {21 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01526/0.5627, allocations: 5.823 MB / 0.656 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01145/0.5741, allocations: 4.343 MB / 0.6603 GB, free: 2.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5742, allocations: 0 / 0.6603 GB, free: 2.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004639/0.5788, allocations: 1.649 MB / 0.6619 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.5796, allocations: 84.7 kB / 0.6619 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.5856, allocations: 4.286 MB / 0.6661 GB, free: 12.28 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/0.5864, allocations: 1.114 MB / 0.6672 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005826/0.587, allocations: 135.8 kB / 0.6674 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/0.5875, allocations: 415.3 kB / 0.6677 GB, free: 10.6 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5875, allocations: 4 kB / 0.6678 GB, free: 10.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/0.6467, allocations: 34.97 MB / 0.7019 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.6469, allocations: 209 kB / 0.7021 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/3.265, allocations: 3.938 kB / 0.7021 GB, free: 7.754 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1) Environment - environmentSimulation: