Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.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.LoadTestZipJimma,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestZipJimma",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestZipJimma",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.001056/0.001056, allocations: 108 kB / 15.61 MB, free: 148 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.313/1.313, allocations: 222.9 MB / 239.2 MB, free: 4.598 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.001479/0.001479, allocations: 191.6 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5041/0.5041, allocations: 91.9 MB / 431.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 76.06 kB / 0.502 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3142, allocations: 71.26 MB / 0.5716 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma): time 0.004988/0.3192, allocations: 5.369 MB / 0.5768 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.3221, allocations: 1.637 MB / 0.5784 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.3226, allocations: 10.28 kB / 0.5784 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.3232, allocations: 183.4 kB / 0.5786 GB, free: 32.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.3246, allocations: 0.6398 MB / 0.5792 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009544/0.3256, allocations: 0.4928 MB / 0.5797 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.3268, allocations: 1.088 MB / 0.5808 GB, free: 31.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.3273, allocations: 254.2 kB / 0.581 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.3281, allocations: 471.4 kB / 0.5815 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.3288, allocations: 0.6077 MB / 0.5821 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.329, allocations: 84.31 kB / 0.5821 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.3295, allocations: 222.8 kB / 0.5823 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.3297, allocations: 245.8 kB / 0.5826 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.3301, allocations: 0.5017 MB / 0.5831 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.3313, allocations: 1.245 MB / 0.5843 GB, free: 29.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.3314, allocations: 0 / 0.5843 GB, free: 29.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3314, allocations: 0 / 0.5843 GB, free: 29.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3314, allocations: 3.094 kB / 0.5843 GB, free: 29.59 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.007017/0.3384, allocations: 2.17 MB / 0.5864 GB, free: 28.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3385, allocations: 13.72 kB / 0.5864 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.3386, allocations: 103.7 kB / 0.5865 GB, free: 28.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0042/0.3428, allocations: 0.6463 MB / 0.5871 GB, free: 28.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000839/0.3437, allocations: 0.654 MB / 0.5878 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.3439, allocations: 177.6 kB / 0.588 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.344, allocations: 64.97 kB / 0.588 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.3458, allocations: 0.8709 MB / 0.5889 GB, free: 27.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3458, allocations: 0 / 0.5889 GB, free: 27.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.173e-05/0.3459, allocations: 25.94 kB / 0.5889 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.3459, allocations: 18.59 kB / 0.5889 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.3479, allocations: 0.9109 MB / 0.5898 GB, free: 27.09 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.003884/0.3518, allocations: 2.474 MB / 0.5922 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.3534, allocations: 1.093 MB / 0.5933 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.3547, allocations: 0.6469 MB / 0.5939 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.096e-05/0.3548, allocations: 21.16 kB / 0.5939 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.3548, allocations: 37.84 kB / 0.594 GB, free: 24.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.304e-06/0.3548, allocations: 3.938 kB / 0.594 GB, free: 24.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02402/0.3788, allocations: 5.795 MB / 0.5996 GB, free: 23.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3789, allocations: 59.61 kB / 0.5997 GB, free: 23.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3799, allocations: 0.7646 MB / 0.6004 GB, free: 23.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.3801, allocations: 40.08 kB / 0.6005 GB, free: 23.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.3803, allocations: 403.3 kB / 0.6009 GB, free: 22.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.3806, allocations: 297.5 kB / 0.6011 GB, free: 22.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/0.3809, allocations: 182.4 kB / 0.6013 GB, free: 22.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.381, allocations: 343.8 kB / 0.6016 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.3824, allocations: 0.6177 MB / 0.6023 GB, free: 22.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.3838, allocations: 0.7202 MB / 0.603 GB, free: 21.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/0.3867, allocations: 1.336 MB / 0.6043 GB, free: 21.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3867, allocations: 0 / 0.6043 GB, free: 21.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01266/0.3993, allocations: 3.636 MB / 0.6078 GB, free: 20.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.3994, allocations: 4.5 kB / 0.6078 GB, free: 20.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3994, allocations: 1.969 kB / 0.6078 GB, free: 20.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006426/0.4059, allocations: 1.55 MB / 0.6093 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.4069, allocations: 168.2 kB / 0.6095 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.4261, allocations: 8.405 MB / 0.6177 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.4276, allocations: 147.1 kB / 0.6178 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/0.4277, allocations: 39.92 kB / 0.6179 GB, free: 14.73 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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 {(19,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0003819/0.4281, allocations: 217.7 kB / 0.6181 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.4283, allocations: 102.8 kB / 0.6182 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.4388, allocations: 3.341 MB / 0.6214 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.4388, allocations: 8 kB / 0.6215 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4388, allocations: 0 / 0.6215 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.4388, allocations: 7.984 kB / 0.6215 GB, free: 11.03 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 postOpt removeSimpleEquations (simulation): time 0.01198/0.4508, allocations: 4.681 MB / 0.626 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4509, allocations: 0 / 0.626 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.4514, allocations: 99.81 kB / 0.6261 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005166/0.4566, allocations: 1.491 MB / 0.6276 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.4567, allocations: 19.98 kB / 0.6276 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/0.4721, allocations: 7.182 MB / 0.6346 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4722, allocations: 0 / 0.6346 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.4856, allocations: 4.173 MB / 0.6387 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.486, allocations: 191.7 kB / 0.6389 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.4861, allocations: 12 kB / 0.6389 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000893/0.487, allocations: 83.89 kB / 0.639 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000526/0.4876, allocations: 172.6 kB / 0.6391 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.4876, allocations: 24 kB / 0.6392 GB, free: 8.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006639/0.4883, allocations: 0.5146 MB / 0.6397 GB, free: 8.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4883, allocations: 0 / 0.6397 GB, free: 8.086 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001198/0.4895, allocations: 379.6 kB / 0.64 GB, free: 7.715 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,zIPJimma.x) * 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 (49): * Single equations (assignments): 48 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0134/0.5029, allocations: 4.758 MB / 0.6447 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006134/0.5091, allocations: 2.175 MB / 0.6468 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5091, allocations: 0 / 0.6468 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004023/0.5131, allocations: 1.322 MB / 0.6481 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.514, allocations: 85.27 kB / 0.6482 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/0.5481, allocations: 13.55 MB / 0.6614 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.5487, allocations: 1.029 MB / 0.6624 GB, free: 428 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.5492, allocations: 89.62 kB / 0.6625 GB, free: 336 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/0.5497, allocations: 367.3 kB / 0.6628 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5497, allocations: 0 / 0.6628 GB, free: 15.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05585/0.6055, allocations: 28.8 MB / 0.6909 GB, free: 3.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.23, allocations: 4.016 kB / 0.691 GB, free: 3.309 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestZipJimma.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe 2>&1)