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-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,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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09371/0.09371, allocations: 12.6 MB / 28.1 MB, free: 128 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 107.5 kB / 31.7 MB, free: 3.484 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.443/1.443, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001265/0.001265, allocations: 195.4 kB / 290.5 MB, free: 11.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4214/0.4214, allocations: 78.51 MB / 419.2 MB, free: 10.82 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.002715/0.002715, allocations: 131.8 kB / 499.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2767, allocations: 68.12 MB / 0.5547 GB, free: 21.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004924/0.2817, allocations: 5.837 MB / 0.5604 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.2845, allocations: 1.713 MB / 0.5621 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.2849, allocations: 11.94 kB / 0.5621 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.2853, allocations: 202.3 kB / 0.5623 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.2866, allocations: 0.6813 MB / 0.5629 GB, free: 12.81 MB / 382.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.0009251/0.2875, allocations: 0.5789 MB / 0.5635 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008508/0.2884, allocations: 1.249 MB / 0.5647 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.2887, allocations: 267.1 kB / 0.565 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.2892, allocations: 0.5251 MB / 0.5655 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.2896, allocations: 0.6417 MB / 0.5661 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/0.2897, allocations: 88 kB / 0.5662 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.2901, allocations: 231.8 kB / 0.5664 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2902, allocations: 239 kB / 0.5666 GB, free: 9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.2905, allocations: 0.5398 MB / 0.5672 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00084/0.2914, allocations: 1.347 MB / 0.5685 GB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2914, allocations: 0 / 0.5685 GB, free: 7.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2914, allocations: 0 / 0.5685 GB, free: 7.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.2914, allocations: 0 / 0.5685 GB, free: 7.105 MB / 382.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.006509/0.2979, allocations: 2.349 MB / 0.5708 GB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.298, allocations: 11.98 kB / 0.5708 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.2981, allocations: 122.4 kB / 0.5709 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.3027, allocations: 0.7556 MB / 0.5716 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008688/0.3036, allocations: 0.7049 MB / 0.5723 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.3039, allocations: 252.2 kB / 0.5726 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.304, allocations: 68 kB / 0.5726 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.3058, allocations: 0.9637 MB / 0.5736 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3059, allocations: 0 / 0.5736 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-05/0.306, allocations: 24 kB / 0.5736 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.306, allocations: 16 kB / 0.5736 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.3078, allocations: 0.9799 MB / 0.5746 GB, free: 0.7188 MB / 382.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.005493/0.3133, allocations: 3.186 MB / 0.5777 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.3154, allocations: 1.316 MB / 0.579 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.3168, allocations: 0.7044 MB / 0.5797 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/0.3169, allocations: 20.97 kB / 0.5797 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.317, allocations: 39.56 kB / 0.5797 GB, free: 11.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.317, allocations: 0 / 0.5797 GB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02563/0.3426, allocations: 6.473 MB / 0.586 GB, free: 4.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.3427, allocations: 64.34 kB / 0.5861 GB, free: 4.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.3438, allocations: 0.7868 MB / 0.5869 GB, free: 3.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.344, allocations: 41.7 kB / 0.5869 GB, free: 3.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.3444, allocations: 440.3 kB / 0.5873 GB, free: 3.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.3448, allocations: 295.7 kB / 0.5876 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.3452, allocations: 190.8 kB / 0.5878 GB, free: 2.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3453, allocations: 349.9 kB / 0.5881 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.3468, allocations: 0.6545 MB / 0.5888 GB, free: 1.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.3484, allocations: 0.7912 MB / 0.5895 GB, free: 1.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/0.3666, allocations: 4.538 MB / 0.594 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.3666, allocations: 4 kB / 0.594 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01434/0.381, allocations: 4.075 MB / 0.5979 GB, free: 8.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.3811, allocations: 8 kB / 0.598 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3811, allocations: 7.938 kB / 0.598 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006295/0.3874, allocations: 1.745 MB / 0.5997 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/0.3884, allocations: 183.8 kB / 0.5998 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.4103, allocations: 9.06 MB / 0.6087 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4118, allocations: 151 kB / 0.6088 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.412, allocations: 36 kB / 0.6089 GB, free: 12.99 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.0005025/0.4125, allocations: 229.6 kB / 0.6091 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.4128, allocations: 98.78 kB / 0.6092 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.4258, allocations: 3.817 MB / 0.6129 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.4259, allocations: 15.94 kB / 0.6129 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4259, allocations: 0 / 0.6129 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.4259, allocations: 3.984 kB / 0.6129 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.441, allocations: 5.376 MB / 0.6182 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.441, allocations: 3.984 kB / 0.6182 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/0.4416, allocations: 91.89 kB / 0.6183 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006191/0.4478, allocations: 1.753 MB / 0.62 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.4481, allocations: 16 kB / 0.62 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/0.4669, allocations: 8.049 MB / 0.6279 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.467, allocations: 4 kB / 0.6279 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.4822, allocations: 4.735 MB / 0.6325 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.4826, allocations: 191.6 kB / 0.6327 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.4829, allocations: 16 kB / 0.6327 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.4839, allocations: 87.89 kB / 0.6328 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000666/0.4846, allocations: 208.5 kB / 0.633 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/0.4847, allocations: 27.94 kB / 0.633 GB, free: 3.926 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007496/0.4854, allocations: 0.5264 MB / 0.6335 GB, free: 3.402 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4854, allocations: 0 / 0.6335 GB, free: 3.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001284/0.4867, allocations: 415.5 kB / 0.6339 GB, free: 2.996 MB / 446.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.01516/0.5019, allocations: 5.311 MB / 0.6391 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006546/0.5085, allocations: 2.337 MB / 0.6414 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5085, allocations: 0 / 0.6414 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004548/0.5131, allocations: 1.511 MB / 0.6428 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.5138, allocations: 79.33 kB / 0.6429 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/0.5489, allocations: 14.6 MB / 0.6572 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/0.5496, allocations: 1.033 MB / 0.6582 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.5499, allocations: 78.31 kB / 0.6583 GB, free: 9.625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.5504, allocations: 379.3 kB / 0.6586 GB, free: 9.254 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5504, allocations: 0 / 0.6586 GB, free: 9.254 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2899/0.8404, allocations: 30.6 MB / 0.6885 GB, free: 119.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.48, allocations: 9.188 kB / 0.6885 GB, free: 119.6 MB / 494.1 MB (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)