Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107.6 kB / 16.45 MB, free: 6.398 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 249.8 MB, free: 9.203 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 218.6 kB / 306 MB, free: 4.285 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4347/0.4347, allocations: 79.71 MB / 441.8 MB, free: 15.94 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003639/0.003639, allocations: 87.88 kB / 0.5878 GB, free: 1.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1806, allocations: 73.25 MB / 0.6594 GB, free: 8.066 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.01349/0.1941, allocations: 6.546 MB / 0.6658 GB, free: 1.477 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.2011, allocations: 1.954 MB / 0.6677 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.2024, allocations: 15.94 kB / 0.6677 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2035, allocations: 237.9 kB / 0.6679 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.2074, allocations: 0.7766 MB / 0.6687 GB, free: 14.49 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.2103, allocations: 0.6389 MB / 0.6693 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.2138, allocations: 1.433 MB / 0.6707 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000826/0.2146, allocations: 228.4 kB / 0.6709 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.2162, allocations: 0.6224 MB / 0.6715 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.218, allocations: 0.7349 MB / 0.6722 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004843/0.2185, allocations: 108 kB / 0.6723 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.2197, allocations: 259.8 kB / 0.6726 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005063/0.2202, allocations: 278.8 kB / 0.6728 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.2214, allocations: 0.6329 MB / 0.6735 GB, free: 9.551 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.2251, allocations: 1.544 MB / 0.675 GB, free: 8 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2251, allocations: 0 / 0.675 GB, free: 8 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2251, allocations: 0 / 0.675 GB, free: 8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.252e-05/0.2252, allocations: 0 / 0.675 GB, free: 8 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.01577/0.2409, allocations: 2.629 MB / 0.6775 GB, free: 5.312 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/0.241, allocations: 12.03 kB / 0.6776 GB, free: 5.301 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003014/0.2413, allocations: 126.8 kB / 0.6777 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.252, allocations: 0.8303 MB / 0.6785 GB, free: 4.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.2546, allocations: 0.7892 MB / 0.6793 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005351/0.2551, allocations: 256.1 kB / 0.6795 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.2554, allocations: 87.94 kB / 0.6796 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/0.26, allocations: 1.085 MB / 0.6806 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.26, allocations: 3.984 kB / 0.6806 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.2602, allocations: 28 kB / 0.6807 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.2602, allocations: 20 kB / 0.6807 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005061/0.2653, allocations: 1.12 MB / 0.6818 GB, free: 0.8555 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 preOpt removeSimpleEquations (simulation): time 0.0113/0.2766, allocations: 3.457 MB / 0.6852 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/0.2808, allocations: 1.348 MB / 0.6865 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/0.2841, allocations: 0.707 MB / 0.6872 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.2843, allocations: 16.98 kB / 0.6872 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.2844, allocations: 43.56 kB / 0.6872 GB, free: 11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 5.239e-06/0.2844, allocations: 0 / 0.6872 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.0481/0.3325, allocations: 6.583 MB / 0.6937 GB, free: 4.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.3326, allocations: 60.41 kB / 0.6937 GB, free: 4.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.3346, allocations: 0.9008 MB / 0.6946 GB, free: 3.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002756/0.3349, allocations: 49.7 kB / 0.6946 GB, free: 3.336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/0.3355, allocations: 497.5 kB / 0.6951 GB, free: 2.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/0.3362, allocations: 372.8 kB / 0.6955 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007183/0.3369, allocations: 206.9 kB / 0.6957 GB, free: 2.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.3371, allocations: 353.9 kB / 0.696 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/0.3405, allocations: 0.7287 MB / 0.6967 GB, free: 1.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.344, allocations: 0.8657 MB / 0.6976 GB, free: 296 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2861/0.6302, allocations: 4.956 MB / 0.7024 GB, free: 34.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.6302, allocations: 0 / 0.7024 GB, free: 34.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01557/0.6457, allocations: 4.256 MB / 0.7066 GB, free: 34.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.6458, allocations: 9.781 kB / 0.7066 GB, free: 34.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.6458, allocations: 5.094 kB / 0.7066 GB, free: 34.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006802/0.6526, allocations: 1.727 MB / 0.7083 GB, free: 34.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.654, allocations: 233.3 kB / 0.7085 GB, free: 34.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/0.6754, allocations: 9.067 MB / 0.7173 GB, free: 30.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.677, allocations: 180.5 kB / 0.7175 GB, free: 30.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.6771, allocations: 40.88 kB / 0.7175 GB, free: 30.15 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005102/0.6777, allocations: 238.2 kB / 0.7178 GB, free: 29.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.6779, allocations: 140.1 kB / 0.7179 GB, free: 29.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.6916, allocations: 3.975 MB / 0.7218 GB, free: 28.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.6916, allocations: 15.55 kB / 0.7218 GB, free: 28.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6916, allocations: 5.312 kB / 0.7218 GB, free: 28.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.6916, allocations: 11.92 kB / 0.7218 GB, free: 28.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.706, allocations: 5.563 MB / 0.7273 GB, free: 25.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.706, allocations: 0 / 0.7273 GB, free: 25.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.7068, allocations: 137.6 kB / 0.7274 GB, free: 25.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00568/0.7124, allocations: 1.738 MB / 0.7291 GB, free: 24.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/0.7126, allocations: 19.67 kB / 0.7291 GB, free: 24.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.7294, allocations: 8.054 MB / 0.737 GB, free: 18.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7294, allocations: 0 / 0.737 GB, free: 18.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.7439, allocations: 4.933 MB / 0.7418 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.7442, allocations: 212.4 kB / 0.742 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.7444, allocations: 16 kB / 0.742 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.7454, allocations: 111.9 kB / 0.7421 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/0.7462, allocations: 218.9 kB / 0.7423 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.578e-05/0.7463, allocations: 23.98 kB / 0.7423 GB, free: 12.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006116/0.7469, allocations: 0.6012 MB / 0.7429 GB, free: 12.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7469, allocations: 4 kB / 0.7429 GB, free: 12.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001198/0.7481, allocations: 452.4 kB / 0.7434 GB, free: 11.89 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01482/0.7629, allocations: 5.509 MB / 0.7487 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0065/0.7694, allocations: 2.372 MB / 0.7511 GB, free: 3.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7694, allocations: 0 / 0.7511 GB, free: 3.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00457/0.774, allocations: 1.529 MB / 0.7525 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.7747, allocations: 88.41 kB / 0.7526 GB, free: 2.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04127/0.816, allocations: 15.4 MB / 0.7677 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/0.8168, allocations: 1.1 MB / 0.7687 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004011/0.8172, allocations: 94.88 kB / 0.7688 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/0.8178, allocations: 451.3 kB / 0.7693 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.8178, allocations: 0 / 0.7693 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07626/0.8941, allocations: 34.02 MB / 0.8025 GB, free: 15.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.53/18.42, allocations: 7.031 kB / 0.8025 GB, free: 15.25 MB / 0.545 GB " [Timeout remaining time 641] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.812586233005277] Failed to read output from testmodel.py, exit status != 0: 18.5366998410027 18.559346035 18.329486099 Calling exit ...