Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.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: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestZip,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestZip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestZip,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestZip",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.007198/0.007198, allocations: 99.47 kB / 15.73 MB, free: 6.449 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.341/1.341, allocations: 222.9 MB / 239.4 MB, free: 4.496 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.001439/0.001439, allocations: 192.4 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.445/0.445, allocations: 78.53 MB / 418.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 79.88 kB / 0.5532 GB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3037, allocations: 68.17 MB / 0.6197 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestZip): time 0.004845/0.3086, allocations: 5.308 MB / 0.6249 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.3111, allocations: 1.614 MB / 0.6265 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.3115, allocations: 11.94 kB / 0.6265 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.3119, allocations: 182.5 kB / 0.6267 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.3132, allocations: 0.6845 MB / 0.6273 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008161/0.314, allocations: 492.5 kB / 0.6278 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00083/0.3149, allocations: 1.078 MB / 0.6289 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.3152, allocations: 262.5 kB / 0.6291 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.3156, allocations: 462 kB / 0.6296 GB, free: 40 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.3163, allocations: 0.6028 MB / 0.6301 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.3165, allocations: 84 kB / 0.6302 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.3169, allocations: 215.9 kB / 0.6304 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.3171, allocations: 243 kB / 0.6307 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.3175, allocations: 0.4892 MB / 0.6311 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.3188, allocations: 1.253 MB / 0.6324 GB, free: 13.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3188, allocations: 0 / 0.6324 GB, free: 13.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3188, allocations: 0 / 0.6324 GB, free: 13.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3188, allocations: 0 / 0.6324 GB, free: 13.16 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006631/0.3255, allocations: 2.192 MB / 0.6345 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3255, allocations: 8.031 kB / 0.6345 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.3257, allocations: 106.6 kB / 0.6346 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.3299, allocations: 0.6552 MB / 0.6353 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.3309, allocations: 0.6628 MB / 0.6359 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.3311, allocations: 176.1 kB / 0.6361 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3312, allocations: 64 kB / 0.6361 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.3331, allocations: 0.8575 MB / 0.637 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3331, allocations: 3.984 kB / 0.637 GB, free: 8.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.3332, allocations: 27.94 kB / 0.637 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.3332, allocations: 19.94 kB / 0.637 GB, free: 8.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.3352, allocations: 0.8991 MB / 0.6379 GB, free: 7.348 MB / 446.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.004211/0.3394, allocations: 2.436 MB / 0.6403 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.3411, allocations: 1.056 MB / 0.6413 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.3425, allocations: 0.6396 MB / 0.6419 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.3426, allocations: 8.656 kB / 0.6419 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3426, allocations: 43.22 kB / 0.642 GB, free: 2.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=79): time 2.405e-06/0.3426, allocations: 0 / 0.642 GB, free: 2.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=79): time 0.02079/0.3634, allocations: 5.321 MB / 0.6472 GB, free: 13.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3635, allocations: 60.06 kB / 0.6472 GB, free: 13.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3645, allocations: 0.7592 MB / 0.648 GB, free: 12.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.3647, allocations: 45.64 kB / 0.648 GB, free: 12.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.365, allocations: 397.2 kB / 0.6484 GB, free: 12.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.3653, allocations: 297.5 kB / 0.6487 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.3656, allocations: 174.6 kB / 0.6489 GB, free: 11.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3657, allocations: 345.9 kB / 0.6492 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3671, allocations: 0.6071 MB / 0.6498 GB, free: 10.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.3686, allocations: 0.7085 MB / 0.6505 GB, free: 10.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.3714, allocations: 1.319 MB / 0.6518 GB, free: 8.832 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3714, allocations: 0 / 0.6518 GB, free: 8.832 MB / 462.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01189/0.3833, allocations: 3.572 MB / 0.6552 GB, free: 5.242 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.3834, allocations: 8 kB / 0.6552 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3834, allocations: 0 / 0.6552 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005694/0.3891, allocations: 1.511 MB / 0.6567 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.39, allocations: 171.7 kB / 0.6569 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.4095, allocations: 8.223 MB / 0.6649 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.4108, allocations: 147.5 kB / 0.6651 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.411, allocations: 35.98 kB / 0.6651 GB, free: 11 MB / 478.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 (91): * Single equations (assignments): 90 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000462/0.4115, allocations: 221.6 kB / 0.6653 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.4117, allocations: 99.34 kB / 0.6654 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.4228, allocations: 3.306 MB / 0.6686 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.4229, allocations: 15.92 kB / 0.6686 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4229, allocations: 4 kB / 0.6686 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.4229, allocations: 3.984 kB / 0.6687 GB, free: 7.324 MB / 478.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.01299/0.4359, allocations: 4.625 MB / 0.6732 GB, free: 2.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.4359, allocations: 3.938 kB / 0.6732 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.4365, allocations: 99.88 kB / 0.6733 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005353/0.4419, allocations: 1.462 MB / 0.6747 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.442, allocations: 12 kB / 0.6747 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/0.459, allocations: 7.089 MB / 0.6816 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4591, allocations: 0 / 0.6816 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/0.4721, allocations: 4.138 MB / 0.6857 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.4724, allocations: 184.3 kB / 0.6858 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.4726, allocations: 12 kB / 0.6859 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009307/0.4735, allocations: 87.84 kB / 0.6859 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/0.4741, allocations: 176.3 kB / 0.6861 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.4742, allocations: 16 kB / 0.6861 GB, free: 5.121 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006661/0.4749, allocations: 0.5185 MB / 0.6866 GB, free: 4.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4749, allocations: 0 / 0.6866 GB, free: 4.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001118/0.476, allocations: 375.7 kB / 0.687 GB, free: 4.242 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (48): * Single equations (assignments): 47 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01325/0.4893, allocations: 4.689 MB / 0.6916 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005849/0.4951, allocations: 2.092 MB / 0.6936 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.4952, allocations: 0 / 0.6936 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/0.4992, allocations: 1.327 MB / 0.6949 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.5, allocations: 68.72 kB / 0.695 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03279/0.5328, allocations: 12.99 MB / 0.7077 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.5334, allocations: 1.021 MB / 0.7087 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003497/0.5338, allocations: 89.53 kB / 0.7087 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.5342, allocations: 343.3 kB / 0.7091 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.5342, allocations: 0 / 0.7091 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05718/0.5914, allocations: 28.63 MB / 0.737 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.21, allocations: 4 kB / 0.737 GB, free: 0.8594 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZip_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestZip.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe 2>&1)