Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.005273/0.005273, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.34/1.34, 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.001541/0.001541, allocations: 192.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5159/0.5159, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 81.72 kB / 0.5723 GB, free: 34.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1641, allocations: 71.28 MB / 0.6419 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.009234/0.1734, allocations: 5.804 MB / 0.6475 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.1782, allocations: 1.774 MB / 0.6493 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1793, allocations: 12 kB / 0.6493 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007881/0.1801, allocations: 206.2 kB / 0.6495 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.1828, allocations: 0.727 MB / 0.6502 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.1847, allocations: 0.5797 MB / 0.6507 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.1867, allocations: 1.257 MB / 0.652 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006079/0.1874, allocations: 275.3 kB / 0.6522 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009866/0.1884, allocations: 0.5212 MB / 0.6527 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.1895, allocations: 0.6416 MB / 0.6534 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.1897, allocations: 88 kB / 0.6535 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006605/0.1904, allocations: 223.9 kB / 0.6537 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.1907, allocations: 246.8 kB / 0.6539 GB, free: 7.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007687/0.1915, allocations: 0.5437 MB / 0.6544 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.1936, allocations: 1.365 MB / 0.6558 GB, free: 5.887 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1936, allocations: 0 / 0.6558 GB, free: 5.887 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1936, allocations: 0 / 0.6558 GB, free: 5.887 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.809e-05/0.1936, allocations: 4 kB / 0.6558 GB, free: 5.883 MB / 462.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.0108/0.2045, allocations: 2.375 MB / 0.6581 GB, free: 3.453 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.2045, allocations: 8.031 kB / 0.6581 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.2047, allocations: 114.5 kB / 0.6582 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007684/0.2124, allocations: 0.768 MB / 0.659 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.2141, allocations: 0.7291 MB / 0.6597 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/0.2144, allocations: 240.2 kB / 0.6599 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.2147, allocations: 75.98 kB / 0.66 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.2176, allocations: 0.9598 MB / 0.6609 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2176, allocations: 0 / 0.6609 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.2177, allocations: 28 kB / 0.6609 GB, free: 452 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.2177, allocations: 16 kB / 0.661 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.2208, allocations: 0.9799 MB / 0.6619 GB, free: 15.45 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.007524/0.2283, allocations: 3.202 MB / 0.665 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/0.2311, allocations: 1.311 MB / 0.6663 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/0.2332, allocations: 0.697 MB / 0.667 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.2333, allocations: 24.98 kB / 0.667 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.2334, allocations: 39.5 kB / 0.6671 GB, free: 9.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 4.128e-06/0.2334, allocations: 4 kB / 0.6671 GB, free: 9.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.03603/0.2694, allocations: 6.47 MB / 0.6734 GB, free: 3.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.2695, allocations: 76.2 kB / 0.6735 GB, free: 3.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.2711, allocations: 0.7829 MB / 0.6742 GB, free: 2.496 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.2713, allocations: 41.7 kB / 0.6743 GB, free: 2.449 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.2717, allocations: 445 kB / 0.6747 GB, free: 2.008 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/0.2721, allocations: 313.3 kB / 0.675 GB, free: 1.699 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/0.2726, allocations: 186.9 kB / 0.6752 GB, free: 1.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2728, allocations: 349.9 kB / 0.6755 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.275, allocations: 0.6624 MB / 0.6761 GB, free: 0.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.2774, allocations: 0.7796 MB / 0.6769 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02526/0.3026, allocations: 4.508 MB / 0.6813 GB, free: 11.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.3027, allocations: 3.938 kB / 0.6813 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01914/0.3218, allocations: 4.079 MB / 0.6853 GB, free: 7.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.3219, allocations: 8 kB / 0.6853 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3219, allocations: 8 kB / 0.6853 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008524/0.3304, allocations: 1.725 MB / 0.687 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.3318, allocations: 183.7 kB / 0.6872 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03014/0.3619, allocations: 9.063 MB / 0.696 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.3638, allocations: 155.3 kB / 0.6962 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.3639, allocations: 43.98 kB / 0.6962 GB, free: 11.71 MB / 0.4981 GB 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.000569/0.3645, allocations: 221.6 kB / 0.6964 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.3648, allocations: 111.3 kB / 0.6965 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.3826, allocations: 3.817 MB / 0.7003 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.3827, allocations: 11.94 kB / 0.7003 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3827, allocations: 0 / 0.7003 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/0.3828, allocations: 3.984 kB / 0.7003 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/0.4034, allocations: 5.341 MB / 0.7055 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.4034, allocations: 0 / 0.7055 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000758/0.4042, allocations: 87.89 kB / 0.7056 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00847/0.4127, allocations: 1.741 MB / 0.7073 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/0.4129, allocations: 19.98 kB / 0.7073 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0263/0.4392, allocations: 8.077 MB / 0.7152 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4393, allocations: 0 / 0.7152 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/0.4599, allocations: 4.693 MB / 0.7198 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.4603, allocations: 192.3 kB / 0.7199 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.4606, allocations: 12 kB / 0.72 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.4618, allocations: 95.89 kB / 0.72 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007995/0.4627, allocations: 204.6 kB / 0.7202 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/0.4628, allocations: 20 kB / 0.7203 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008897/0.4637, allocations: 0.5341 MB / 0.7208 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4637, allocations: 4 kB / 0.7208 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001507/0.4652, allocations: 407.7 kB / 0.7212 GB, free: 1.793 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.02063/0.4858, allocations: 5.271 MB / 0.7263 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009123/0.495, allocations: 2.316 MB / 0.7286 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.495, allocations: 0 / 0.7286 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006357/0.5014, allocations: 1.519 MB / 0.7301 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.5024, allocations: 80.42 kB / 0.7301 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05544/0.5579, allocations: 14.18 MB / 0.744 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/0.5587, allocations: 1.029 MB / 0.745 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005244/0.5593, allocations: 86.3 kB / 0.7451 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.56, allocations: 375.3 kB / 0.7454 GB, free: 8.676 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.56, allocations: 0 / 0.7454 GB, free: 8.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3598/0.9198, allocations: 30.97 MB / 0.7757 GB, free: 120 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.72, allocations: 7.344 kB / 0.7757 GB, free: 120 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)