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.001114/0.001114, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001406/0.001406, allocations: 188.5 kB / 289.5 MB, free: 2.332 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.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 87.86 kB / 0.502 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3472, allocations: 71.26 MB / 0.5716 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005106/0.3524, allocations: 5.809 MB / 0.5772 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.3556, allocations: 1.768 MB / 0.579 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/0.3564, allocations: 12.28 kB / 0.579 GB, free: 32.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.3569, allocations: 204.9 kB / 0.5792 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.3585, allocations: 0.68 MB / 0.5798 GB, free: 31.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3596, allocations: 0.5794 MB / 0.5804 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.3608, allocations: 1.25 MB / 0.5816 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.3612, allocations: 276.8 kB / 0.5819 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.3618, allocations: 0.523 MB / 0.5824 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.3623, allocations: 0.6377 MB / 0.583 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.3625, allocations: 89.06 kB / 0.5831 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.3629, allocations: 229.8 kB / 0.5833 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3631, allocations: 247 kB / 0.5836 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.3635, allocations: 0.5449 MB / 0.5841 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.3646, allocations: 1.338 MB / 0.5854 GB, free: 29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3646, allocations: 0 / 0.5854 GB, free: 29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3646, allocations: 0 / 0.5854 GB, free: 29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.3646, allocations: 0 / 0.5854 GB, free: 29 MB / 430.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.007501/0.3721, allocations: 2.351 MB / 0.5877 GB, free: 27.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3722, allocations: 13.5 kB / 0.5877 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.3723, allocations: 117.1 kB / 0.5878 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.3773, allocations: 0.7573 MB / 0.5886 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.3783, allocations: 0.702 MB / 0.5893 GB, free: 27.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.3786, allocations: 254.5 kB / 0.5895 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3788, allocations: 69.31 kB / 0.5896 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.3808, allocations: 0.9618 MB / 0.5905 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3808, allocations: 0 / 0.5905 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.3809, allocations: 26.06 kB / 0.5905 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.3809, allocations: 15.66 kB / 0.5905 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.383, allocations: 0.978 MB / 0.5915 GB, free: 26.24 MB / 430.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.005345/0.3883, allocations: 3.214 MB / 0.5946 GB, free: 24.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.3902, allocations: 1.304 MB / 0.5959 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.3917, allocations: 0.7097 MB / 0.5966 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.089e-05/0.3918, allocations: 10.09 kB / 0.5966 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3918, allocations: 44.56 kB / 0.5967 GB, free: 23.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.506e-06/0.3918, allocations: 0 / 0.5967 GB, free: 23.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02781/0.4196, allocations: 6.475 MB / 0.603 GB, free: 21.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.4197, allocations: 65.22 kB / 0.603 GB, free: 21.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.4209, allocations: 0.7888 MB / 0.6038 GB, free: 21.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.4211, allocations: 39.98 kB / 0.6038 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.4213, allocations: 440.5 kB / 0.6043 GB, free: 21.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.4216, allocations: 299.2 kB / 0.6046 GB, free: 20.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.422, allocations: 189.5 kB / 0.6047 GB, free: 20.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.4221, allocations: 343.9 kB / 0.6051 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.4236, allocations: 0.6591 MB / 0.6057 GB, free: 20.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.425, allocations: 0.7858 MB / 0.6065 GB, free: 19.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/0.443, allocations: 4.529 MB / 0.6109 GB, free: 18.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.443, allocations: 0 / 0.6109 GB, free: 18.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01373/0.4568, allocations: 4.077 MB / 0.6149 GB, free: 17.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.4568, allocations: 5.75 kB / 0.6149 GB, free: 17.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4569, allocations: 2.188 kB / 0.6149 GB, free: 17.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006036/0.4629, allocations: 1.738 MB / 0.6166 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/0.4639, allocations: 183.8 kB / 0.6168 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/0.4831, allocations: 9.075 MB / 0.6256 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.4848, allocations: 151.1 kB / 0.6258 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/0.4849, allocations: 39.98 kB / 0.6258 GB, free: 6.52 MB / 430.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.0004889/0.4854, allocations: 223.4 kB / 0.626 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.4856, allocations: 106.7 kB / 0.6261 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.4977, allocations: 3.813 MB / 0.6298 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4978, allocations: 15.94 kB / 0.6299 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4978, allocations: 0 / 0.6299 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4978, allocations: 3.984 kB / 0.6299 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.512, allocations: 5.345 MB / 0.6351 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.512, allocations: 4 kB / 0.6351 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.5125, allocations: 91.83 kB / 0.6352 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005989/0.5185, allocations: 1.741 MB / 0.6369 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/0.5186, allocations: 16 kB / 0.6369 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/0.5371, allocations: 8.068 MB / 0.6448 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5371, allocations: 0 / 0.6448 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/0.5524, allocations: 4.696 MB / 0.6493 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004674/0.5529, allocations: 191.6 kB / 0.6495 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.5531, allocations: 12 kB / 0.6495 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009359/0.554, allocations: 91.89 kB / 0.6496 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006377/0.5547, allocations: 204.7 kB / 0.6498 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.5547, allocations: 19.94 kB / 0.6498 GB, free: 13.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006673/0.5554, allocations: 0.5381 MB / 0.6504 GB, free: 13 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5554, allocations: 0 / 0.6504 GB, free: 13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00121/0.5566, allocations: 407.5 kB / 0.6508 GB, free: 12.6 MB / 462.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 (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.01481/0.5714, allocations: 5.268 MB / 0.6559 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006732/0.5782, allocations: 2.325 MB / 0.6582 GB, free: 4.953 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5782, allocations: 0 / 0.6582 GB, free: 4.953 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004827/0.5831, allocations: 1.511 MB / 0.6597 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.5839, allocations: 89.3 kB / 0.6597 GB, free: 3.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03807/0.622, allocations: 14.6 MB / 0.674 GB, free: 4.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.6227, allocations: 1.037 MB / 0.675 GB, free: 3.359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.623, allocations: 86.23 kB / 0.6751 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.6236, allocations: 371.3 kB / 0.6754 GB, free: 2.91 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6236, allocations: 0 / 0.6754 GB, free: 2.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06203/0.6856, allocations: 30.6 MB / 0.7053 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.16, allocations: 0.9375 kB / 0.7053 GB, free: 4.41 MB / 0.4981 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)