Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_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.007237/0.007237, allocations: 102 kB / 15.73 MB, free: 6.039 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.403/1.403, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001417/0.001417, allocations: 192.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4402/0.4402, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 83.88 kB / 0.5532 GB, free: 1.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3128, allocations: 68.16 MB / 0.6197 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005147/0.3179, allocations: 5.792 MB / 0.6254 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.3211, allocations: 1.739 MB / 0.6271 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009848/0.3221, allocations: 11.94 kB / 0.6271 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006867/0.3228, allocations: 202.3 kB / 0.6273 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.3249, allocations: 0.6858 MB / 0.6279 GB, free: 1.664 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001221/0.3261, allocations: 0.5598 MB / 0.6285 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3276, allocations: 1.261 MB / 0.6297 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.3281, allocations: 285.2 kB / 0.63 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.329, allocations: 0.5212 MB / 0.6305 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.3299, allocations: 0.6416 MB / 0.6311 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.3302, allocations: 92 kB / 0.6312 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.3308, allocations: 223.8 kB / 0.6314 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.3311, allocations: 242.9 kB / 0.6317 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006242/0.3317, allocations: 0.5476 MB / 0.6322 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.3333, allocations: 1.355 MB / 0.6335 GB, free: 11.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3333, allocations: 0 / 0.6335 GB, free: 11.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.3334, allocations: 0 / 0.6335 GB, free: 11.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.3334, allocations: 3.938 kB / 0.6335 GB, free: 11.93 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.007891/0.3413, allocations: 2.349 MB / 0.6358 GB, free: 9.527 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3414, allocations: 12.03 kB / 0.6358 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/0.3416, allocations: 114.5 kB / 0.6359 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004952/0.3466, allocations: 0.7596 MB / 0.6367 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.348, allocations: 0.7088 MB / 0.6374 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.3483, allocations: 248.2 kB / 0.6376 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.3485, allocations: 72 kB / 0.6377 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.3506, allocations: 0.9559 MB / 0.6386 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3507, allocations: 4 kB / 0.6386 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/0.3508, allocations: 28 kB / 0.6386 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.3508, allocations: 16 kB / 0.6387 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.3529, allocations: 0.9798 MB / 0.6396 GB, free: 5.535 MB / 446.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.005546/0.3585, allocations: 3.162 MB / 0.6427 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.3606, allocations: 1.304 MB / 0.644 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.362, allocations: 0.7071 MB / 0.6447 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.3621, allocations: 12.98 kB / 0.6447 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3622, allocations: 43.56 kB / 0.6447 GB, free: 28 kB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 3.777e-06/0.3622, allocations: 0 / 0.6447 GB, free: 28 kB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02585/0.3881, allocations: 6.481 MB / 0.651 GB, free: 9.508 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3881, allocations: 64.34 kB / 0.6511 GB, free: 9.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.3893, allocations: 0.7868 MB / 0.6519 GB, free: 8.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001751/0.3895, allocations: 37.7 kB / 0.6519 GB, free: 8.598 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.3898, allocations: 444.3 kB / 0.6523 GB, free: 8.156 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.3902, allocations: 303.7 kB / 0.6526 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/0.3906, allocations: 182.9 kB / 0.6528 GB, free: 7.668 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3908, allocations: 349.9 kB / 0.6531 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.3923, allocations: 0.6584 MB / 0.6538 GB, free: 6.664 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.394, allocations: 0.7912 MB / 0.6546 GB, free: 5.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/0.4123, allocations: 4.512 MB / 0.659 GB, free: 1.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4123, allocations: 4 kB / 0.659 GB, free: 1.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01409/0.4264, allocations: 4.082 MB / 0.6629 GB, free: 13.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4265, allocations: 4 kB / 0.663 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4265, allocations: 4 kB / 0.663 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00631/0.4328, allocations: 1.733 MB / 0.6646 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.4338, allocations: 183.8 kB / 0.6648 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/0.4559, allocations: 9.056 MB / 0.6737 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.4573, allocations: 151 kB / 0.6738 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.4576, allocations: 36 kB / 0.6738 GB, free: 1.875 MB / 478.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.0005346/0.4581, allocations: 232.4 kB / 0.6741 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.4584, allocations: 102.7 kB / 0.6742 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.4716, allocations: 3.813 MB / 0.6779 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.4716, allocations: 15.94 kB / 0.6779 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4716, allocations: 0 / 0.6779 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.4717, allocations: 3.984 kB / 0.6779 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.4873, allocations: 5.372 MB / 0.6832 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4873, allocations: 0 / 0.6832 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.4879, allocations: 95.83 kB / 0.6832 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006157/0.494, allocations: 1.745 MB / 0.6849 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.4942, allocations: 12 kB / 0.685 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/0.514, allocations: 8.044 MB / 0.6928 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.514, allocations: 7.875 kB / 0.6928 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.5293, allocations: 4.74 MB / 0.6975 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.5297, allocations: 187.6 kB / 0.6976 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.53, allocations: 19.98 kB / 0.6977 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.5311, allocations: 87.91 kB / 0.6977 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006481/0.5317, allocations: 208.6 kB / 0.6979 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5319, allocations: 24 kB / 0.698 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007066/0.5326, allocations: 0.5303 MB / 0.6985 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5326, allocations: 0 / 0.6985 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001315/0.5339, allocations: 411.5 kB / 0.6989 GB, free: 7.895 MB / 0.4981 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.01552/0.5494, allocations: 5.307 MB / 0.704 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006706/0.5562, allocations: 2.309 MB / 0.7063 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5562, allocations: 4.062 kB / 0.7063 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004865/0.5611, allocations: 1.511 MB / 0.7078 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.562, allocations: 76.91 kB / 0.7079 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03756/0.5995, allocations: 14.15 MB / 0.7217 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.6002, allocations: 1.033 MB / 0.7227 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003569/0.6006, allocations: 82.3 kB / 0.7228 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.6011, allocations: 383.3 kB / 0.7231 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of SimCode: time 7.22e-07/0.6011, allocations: 0 / 0.7231 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/0.6706, allocations: 32.28 MB / 0.7547 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.64, allocations: 10.38 kB / 0.7547 GB, free: 14.57 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)