Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08214/0.08214, allocations: 12.36 MB / 28.71 MB, free: 0.6055 MB / 19.63 MB " [Timeout remaining time 180] 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.001243/0.001243, allocations: 111.2 kB / 34.42 MB, free: 1.688 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 207.6 MB / 247.6 MB, free: 8.836 MB / 190.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.001765/0.001765, allocations: 212.3 kB / 302.5 MB, free: 2.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3297/0.3297, allocations: 79.73 MB / 436.9 MB, free: 11.73 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004015/0.004015, allocations: 143.8 kB / 0.5819 GB, free: 7.953 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3496, allocations: 71.92 MB / 0.6521 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006916/0.3566, allocations: 5.875 MB / 0.6579 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.3601, allocations: 1.721 MB / 0.6596 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005412/0.3607, allocations: 11.94 kB / 0.6596 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.3612, allocations: 202.3 kB / 0.6598 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.3629, allocations: 0.7418 MB / 0.6605 GB, free: 6.332 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001239/0.3642, allocations: 0.5564 MB / 0.661 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.3655, allocations: 1.26 MB / 0.6623 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.3659, allocations: 195.2 kB / 0.6624 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000648/0.3665, allocations: 0.5329 MB / 0.663 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007169/0.3672, allocations: 0.6572 MB / 0.6636 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.3674, allocations: 88 kB / 0.6637 GB, free: 3.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.3678, allocations: 219.9 kB / 0.6639 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.368, allocations: 238.9 kB / 0.6641 GB, free: 2.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004686/0.3685, allocations: 0.5476 MB / 0.6647 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.37, allocations: 1.356 MB / 0.666 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.37, allocations: 7.984 kB / 0.666 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.37, allocations: 0 / 0.666 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.37, allocations: 4 kB / 0.666 GB, free: 0.6602 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007824/0.3778, allocations: 2.387 MB / 0.6683 GB, free: 14.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.3779, allocations: 11.98 kB / 0.6683 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.378, allocations: 114.5 kB / 0.6684 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/0.383, allocations: 0.7563 MB / 0.6692 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.3843, allocations: 0.7252 MB / 0.6699 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/0.3846, allocations: 248.1 kB / 0.6701 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.3847, allocations: 72 kB / 0.6702 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.3868, allocations: 0.9559 MB / 0.6711 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3868, allocations: 0 / 0.6711 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.3869, allocations: 28 kB / 0.6712 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.3869, allocations: 20 kB / 0.6712 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.3891, allocations: 0.976 MB / 0.6721 GB, free: 10.22 MB / 462.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.005381/0.3945, allocations: 3.171 MB / 0.6752 GB, free: 6.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.3966, allocations: 1.228 MB / 0.6764 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.398, allocations: 0.6345 MB / 0.677 GB, free: 4.922 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3981, allocations: 12.98 kB / 0.6771 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.3982, allocations: 47.5 kB / 0.6771 GB, free: 4.852 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.845e-06/0.3982, allocations: 0 / 0.6771 GB, free: 4.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02705/0.4252, allocations: 6.442 MB / 0.6834 GB, free: 14.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.4253, allocations: 64.34 kB / 0.6835 GB, free: 14.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.4264, allocations: 0.7946 MB / 0.6842 GB, free: 13.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.4266, allocations: 45.64 kB / 0.6843 GB, free: 13.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.427, allocations: 433.1 kB / 0.6847 GB, free: 13.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.4273, allocations: 321.2 kB / 0.685 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.4277, allocations: 182.9 kB / 0.6852 GB, free: 12.51 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4279, allocations: 349.9 kB / 0.6855 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.4295, allocations: 0.6584 MB / 0.6861 GB, free: 11.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.4311, allocations: 0.7874 MB / 0.6869 GB, free: 10.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01859/0.4497, allocations: 4.52 MB / 0.6913 GB, free: 6.133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4497, allocations: 0 / 0.6913 GB, free: 6.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01381/0.4635, allocations: 4.044 MB / 0.6953 GB, free: 2.078 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.4636, allocations: 8 kB / 0.6953 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4636, allocations: 0 / 0.6953 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006304/0.4699, allocations: 1.745 MB / 0.697 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.4709, allocations: 187.7 kB / 0.6972 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/0.4932, allocations: 9.064 MB / 0.706 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4947, allocations: 159.3 kB / 0.7062 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.4948, allocations: 35.98 kB / 0.7062 GB, free: 6.727 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 (101): * Single equations (assignments): 100 * 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.0004739/0.4952, allocations: 225.6 kB / 0.7064 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.4955, allocations: 119.3 kB / 0.7065 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.509, allocations: 3.782 MB / 0.7102 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.509, allocations: 11.94 kB / 0.7102 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.509, allocations: 0 / 0.7102 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.509, allocations: 3.984 kB / 0.7102 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.5246, allocations: 5.341 MB / 0.7155 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.5246, allocations: 0 / 0.7155 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.5252, allocations: 87.89 kB / 0.7155 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006209/0.5314, allocations: 1.749 MB / 0.7173 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.5315, allocations: 16 kB / 0.7173 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/0.5517, allocations: 8.046 MB / 0.7251 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5517, allocations: 0 / 0.7251 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/0.567, allocations: 4.713 MB / 0.7297 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/0.5676, allocations: 196.2 kB / 0.7299 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.5678, allocations: 19.94 kB / 0.7299 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/0.5687, allocations: 87.89 kB / 0.73 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008005/0.5695, allocations: 208.5 kB / 0.7302 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/0.5696, allocations: 20 kB / 0.7302 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008615/0.5705, allocations: 0.538 MB / 0.7308 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5705, allocations: 4 kB / 0.7308 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001506/0.572, allocations: 403.7 kB / 0.7311 GB, free: 12.83 MB / 0.5137 GB 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 (50): * Single equations (assignments): 49 * 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.01595/0.5879, allocations: 5.288 MB / 0.7363 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006722/0.5946, allocations: 2.195 MB / 0.7385 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5946, allocations: 4.188 kB / 0.7385 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004848/0.5995, allocations: 1.452 MB / 0.7399 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.6002, allocations: 75.34 kB / 0.74 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/0.6379, allocations: 14.14 MB / 0.7538 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/0.6386, allocations: 1.037 MB / 0.7548 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003595/0.639, allocations: 78.31 kB / 0.7548 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.6395, allocations: 379.2 kB / 0.7552 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/0.6395, allocations: 4 kB / 0.7552 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06696/0.7065, allocations: 31.23 MB / 0.7857 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.06, allocations: 15.64 kB / 0.7857 GB, free: 4.707 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.445000731997425] Failed to read output from testmodel.py, exit status != 0: 16.16589692499838 16.179467173 15.806657651 Calling exit ...