Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.007054/0.007054, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.3/1.3, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001342/0.001342, allocations: 188.4 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4414/0.4414, allocations: 78.54 MB / 418.4 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 79.88 kB / 0.5532 GB, free: 1.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3014, allocations: 68.16 MB / 0.6197 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.004357/0.3058, allocations: 5.367 MB / 0.625 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.3083, allocations: 1.63 MB / 0.6266 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004381/0.3088, allocations: 8 kB / 0.6266 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.3092, allocations: 190.3 kB / 0.6267 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.3105, allocations: 0.6804 MB / 0.6274 GB, free: 2.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.3114, allocations: 0.4886 MB / 0.6279 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008184/0.3122, allocations: 1.105 MB / 0.629 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.3125, allocations: 266.5 kB / 0.6292 GB, free: 372 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004264/0.3129, allocations: 474 kB / 0.6297 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006651/0.3136, allocations: 0.6262 MB / 0.6303 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.3138, allocations: 84 kB / 0.6304 GB, free: 15.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.3141, allocations: 219.9 kB / 0.6306 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.3144, allocations: 235 kB / 0.6308 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.3148, allocations: 0.5125 MB / 0.6313 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3161, allocations: 1.277 MB / 0.6325 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3161, allocations: 0 / 0.6325 GB, free: 12.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3161, allocations: 3.984 kB / 0.6325 GB, free: 12.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.3161, allocations: 0 / 0.6325 GB, free: 12.95 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006972/0.3231, allocations: 2.209 MB / 0.6347 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3232, allocations: 12.03 kB / 0.6347 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.3233, allocations: 114.6 kB / 0.6348 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.3274, allocations: 0.6552 MB / 0.6355 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009917/0.3285, allocations: 0.6551 MB / 0.6361 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.3287, allocations: 176.1 kB / 0.6363 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.3288, allocations: 67.94 kB / 0.6363 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.3307, allocations: 0.8808 MB / 0.6372 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3307, allocations: 8 kB / 0.6372 GB, free: 8.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.3308, allocations: 23.98 kB / 0.6372 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.3308, allocations: 23.88 kB / 0.6373 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3328, allocations: 0.9147 MB / 0.6381 GB, free: 7.07 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.004293/0.3371, allocations: 2.467 MB / 0.6406 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.339, allocations: 1.132 MB / 0.6417 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.3404, allocations: 0.6523 MB / 0.6423 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.3405, allocations: 16.97 kB / 0.6423 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3405, allocations: 43.56 kB / 0.6424 GB, free: 2.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 4.148e-06/0.3405, allocations: 0 / 0.6424 GB, free: 2.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02163/0.3621, allocations: 5.549 MB / 0.6478 GB, free: 12.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3622, allocations: 60.41 kB / 0.6478 GB, free: 12.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.3633, allocations: 0.7592 MB / 0.6486 GB, free: 12.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.3635, allocations: 41.7 kB / 0.6486 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.3638, allocations: 405.2 kB / 0.649 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/0.3642, allocations: 317.4 kB / 0.6493 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/0.3647, allocations: 182.9 kB / 0.6495 GB, free: 11.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3648, allocations: 349.9 kB / 0.6498 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3662, allocations: 0.6155 MB / 0.6504 GB, free: 10.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.3676, allocations: 0.7271 MB / 0.6511 GB, free: 9.477 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/0.3846, allocations: 4.225 MB / 0.6552 GB, free: 5.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3846, allocations: 0 / 0.6552 GB, free: 5.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01206/0.3967, allocations: 3.595 MB / 0.6588 GB, free: 1.617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.3968, allocations: 8 kB / 0.6588 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3968, allocations: 0 / 0.6588 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005813/0.4026, allocations: 1.507 MB / 0.6602 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.4037, allocations: 187.8 kB / 0.6604 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/0.4227, allocations: 8.158 MB / 0.6684 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4242, allocations: 147.5 kB / 0.6685 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.4244, allocations: 35.98 kB / 0.6686 GB, free: 7.43 MB / 478.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) 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 (97): * Single equations (assignments): 96 * 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.0006253/0.4251, allocations: 226.1 kB / 0.6688 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.4254, allocations: 99.34 kB / 0.6689 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.4366, allocations: 3.415 MB / 0.6722 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.4367, allocations: 11.94 kB / 0.6722 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4367, allocations: 0 / 0.6722 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.4367, allocations: 7.969 kB / 0.6722 GB, free: 3.652 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.01331/0.45, allocations: 4.781 MB / 0.6769 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.4501, allocations: 0 / 0.6769 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.4507, allocations: 95.88 kB / 0.677 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005692/0.4564, allocations: 1.522 MB / 0.6785 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.4566, allocations: 19.98 kB / 0.6785 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.4732, allocations: 7.358 MB / 0.6857 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4733, allocations: 4 kB / 0.6857 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/0.4865, allocations: 4.28 MB / 0.6899 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.4868, allocations: 188.3 kB / 0.69 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/0.4871, allocations: 16 kB / 0.6901 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.4881, allocations: 83.84 kB / 0.6901 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005729/0.4887, allocations: 172.8 kB / 0.6903 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.4888, allocations: 23.98 kB / 0.6903 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007102/0.4895, allocations: 0.5107 MB / 0.6908 GB, free: 308 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4896, allocations: 7.938 kB / 0.6908 GB, free: 300 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001349/0.4909, allocations: 383.7 kB / 0.6912 GB, free: 15.91 MB / 0.4981 GB 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,mixed.x,mixed.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 (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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01409/0.505, allocations: 4.855 MB / 0.6959 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005888/0.5109, allocations: 2.136 MB / 0.698 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.511, allocations: 0 / 0.698 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003916/0.5149, allocations: 1.357 MB / 0.6993 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.5157, allocations: 75.3 kB / 0.6994 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03294/0.5487, allocations: 13.16 MB / 0.7123 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.5494, allocations: 1.025 MB / 0.7133 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004295/0.5498, allocations: 93.62 kB / 0.7134 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.5504, allocations: 367.3 kB / 0.7137 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of SimCode: time 6.92e-07/0.5504, allocations: 0 / 0.7137 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05778/0.6082, allocations: 29.76 MB / 0.7428 GB, free: 10.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/14.98, allocations: 2.031 kB / 0.7428 GB, free: 10.95 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed_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_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)