Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07998/0.07998, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 107.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 191.4 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4037/0.4037, allocations: 78.52 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003633/0.003633, allocations: 140.2 kB / 0.5554 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.1028, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007104/0.1099, allocations: 6.538 MB / 0.6283 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.1131, allocations: 1.846 MB / 0.6301 GB, free: 7.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.1136, allocations: 8 kB / 0.6301 GB, free: 7.496 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.114, allocations: 218 kB / 0.6303 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.1155, allocations: 0.7187 MB / 0.631 GB, free: 6.559 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.001204/0.1167, allocations: 0.6112 MB / 0.6316 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1181, allocations: 1.429 MB / 0.633 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.1186, allocations: 328.3 kB / 0.6333 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.1192, allocations: 0.5951 MB / 0.6339 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007922/0.12, allocations: 0.735 MB / 0.6346 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.1202, allocations: 100 kB / 0.6347 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000438/0.1206, allocations: 239.9 kB / 0.635 GB, free: 2.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1209, allocations: 278.8 kB / 0.6352 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005419/0.1214, allocations: 0.6251 MB / 0.6358 GB, free: 1.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.123, allocations: 1.521 MB / 0.6373 GB, free: 92 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1231, allocations: 4 kB / 0.6373 GB, free: 88 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1231, allocations: 0 / 0.6373 GB, free: 88 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.1231, allocations: 0 / 0.6373 GB, free: 88 kB / 446.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.007597/0.1307, allocations: 2.601 MB / 0.6399 GB, free: 13.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1307, allocations: 15.98 kB / 0.6399 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.1309, allocations: 126.8 kB / 0.64 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/0.1356, allocations: 0.7913 MB / 0.6408 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1368, allocations: 0.7812 MB / 0.6415 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.1371, allocations: 264 kB / 0.6418 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.1373, allocations: 76 kB / 0.6419 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.1395, allocations: 1.089 MB / 0.6429 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1396, allocations: 4 kB / 0.6429 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/0.1397, allocations: 28 kB / 0.643 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.1397, allocations: 20 kB / 0.643 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.1422, allocations: 1.124 MB / 0.6441 GB, free: 9.008 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.005475/0.1477, allocations: 3.46 MB / 0.6474 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.15, allocations: 1.428 MB / 0.6488 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.1518, allocations: 0.7891 MB / 0.6496 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.1519, allocations: 16.97 kB / 0.6496 GB, free: 3.047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.152, allocations: 39.56 kB / 0.6497 GB, free: 3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.535e-06/0.152, allocations: 0 / 0.6497 GB, free: 3 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02584/0.1778, allocations: 6.618 MB / 0.6561 GB, free: 12.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1779, allocations: 60.41 kB / 0.6562 GB, free: 12.28 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.179, allocations: 0.8884 MB / 0.6571 GB, free: 11.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.1791, allocations: 41.7 kB / 0.6571 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.1795, allocations: 0.4935 MB / 0.6576 GB, free: 10.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.1798, allocations: 368.9 kB / 0.6579 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/0.1803, allocations: 210.9 kB / 0.6581 GB, free: 10.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1804, allocations: 349.9 kB / 0.6585 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.1821, allocations: 0.7287 MB / 0.6592 GB, free: 9.172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.1839, allocations: 0.8657 MB / 0.66 GB, free: 8.273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01836/0.2023, allocations: 4.85 MB / 0.6648 GB, free: 3.391 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2023, allocations: 0 / 0.6648 GB, free: 3.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0138/0.2161, allocations: 4.289 MB / 0.6689 GB, free: 15.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2162, allocations: 4 kB / 0.6689 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2162, allocations: 4 kB / 0.669 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006024/0.2222, allocations: 1.73 MB / 0.6706 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.2233, allocations: 227.7 kB / 0.6709 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/0.2449, allocations: 9.054 MB / 0.6797 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.2463, allocations: 183.2 kB / 0.6799 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.2464, allocations: 39.98 kB / 0.6799 GB, free: 3.691 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.0004393/0.2469, allocations: 249.6 kB / 0.6802 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.2471, allocations: 131.1 kB / 0.6803 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.2604, allocations: 4.006 MB / 0.6842 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.2605, allocations: 12 kB / 0.6842 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2605, allocations: 0 / 0.6842 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.2605, allocations: 3.984 kB / 0.6842 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.2755, allocations: 5.61 MB / 0.6897 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2755, allocations: 0 / 0.6897 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/0.2762, allocations: 135.8 kB / 0.6898 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005974/0.2822, allocations: 1.734 MB / 0.6915 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/0.2823, allocations: 23.98 kB / 0.6915 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.3017, allocations: 8.07 MB / 0.6994 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3017, allocations: 0 / 0.6994 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/0.3172, allocations: 4.965 MB / 0.7043 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.3176, allocations: 208 kB / 0.7045 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.3177, allocations: 16 kB / 0.7045 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009931/0.3187, allocations: 107.9 kB / 0.7046 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006786/0.3194, allocations: 224.5 kB / 0.7048 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.3195, allocations: 24 kB / 0.7048 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007735/0.3203, allocations: 0.5969 MB / 0.7054 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3203, allocations: 0 / 0.7054 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001081/0.3214, allocations: 439.6 kB / 0.7058 GB, free: 8.797 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 (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.01579/0.3372, allocations: 5.554 MB / 0.7112 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006817/0.344, allocations: 2.482 MB / 0.7137 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.344, allocations: 0 / 0.7137 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2063/0.5503, allocations: 1.602 MB / 0.7152 GB, free: 87.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.5511, allocations: 93.39 kB / 0.7153 GB, free: 87.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03635/0.5874, allocations: 15.42 MB / 0.7304 GB, free: 83.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.5879, allocations: 1.097 MB / 0.7314 GB, free: 82.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003434/0.5882, allocations: 94.92 kB / 0.7315 GB, free: 82.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.5887, allocations: 445.7 kB / 0.732 GB, free: 81.93 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.5887, allocations: 0 / 0.732 GB, free: 81.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.6419, allocations: 33.58 MB / 0.7647 GB, free: 55.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/16.5, allocations: 7.781 kB / 0.7648 GB, free: 55.01 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)