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.001121/0.001121, allocations: 108 kB / 15.61 MB, free: 152 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.336/1.336, allocations: 222.9 MB / 239.3 MB, free: 4.582 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.001278/0.001277, allocations: 188.5 kB / 289.6 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4772/0.4772, allocations: 78.52 MB / 418.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 76.2 kB / 497.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 68.18 MB / 0.5525 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2345/0.3736, allocations: 5.785 MB / 0.5581 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.3763, allocations: 1.739 MB / 0.5598 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.3767, allocations: 13.09 kB / 0.5598 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.3771, allocations: 199.9 kB / 0.56 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.3784, allocations: 0.6878 MB / 0.5607 GB, free: 35.84 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.0009781/0.3794, allocations: 0.5634 MB / 0.5612 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008997/0.3803, allocations: 1.245 MB / 0.5625 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.3806, allocations: 270.4 kB / 0.5627 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.381, allocations: 0.525 MB / 0.5632 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000505/0.3816, allocations: 0.6438 MB / 0.5639 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.3817, allocations: 84.06 kB / 0.5639 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.382, allocations: 226 kB / 0.5642 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.3822, allocations: 246.7 kB / 0.5644 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.3825, allocations: 0.549 MB / 0.5649 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009582/0.3835, allocations: 1.346 MB / 0.5662 GB, free: 34.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3835, allocations: 0 / 0.5662 GB, free: 34.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3835, allocations: 0 / 0.5662 GB, free: 34.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.3835, allocations: 0 / 0.5662 GB, free: 34.73 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.007626/0.3912, allocations: 2.346 MB / 0.5685 GB, free: 33.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/0.3913, allocations: 11.22 kB / 0.5685 GB, free: 33.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.3915, allocations: 118.5 kB / 0.5687 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.3964, allocations: 0.7584 MB / 0.5694 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3975, allocations: 0.705 MB / 0.5701 GB, free: 33.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.3978, allocations: 252.7 kB / 0.5703 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3979, allocations: 69.88 kB / 0.5704 GB, free: 33.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.3999, allocations: 0.9605 MB / 0.5713 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3999, allocations: 1.219 kB / 0.5713 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.4, allocations: 27.12 kB / 0.5714 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.4, allocations: 18.38 kB / 0.5714 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.4021, allocations: 0.974 MB / 0.5723 GB, free: 33.16 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.005586/0.4077, allocations: 3.186 MB / 0.5754 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.4095, allocations: 1.313 MB / 0.5767 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.4107, allocations: 0.7035 MB / 0.5774 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.589e-05/0.4108, allocations: 13.22 kB / 0.5774 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4108, allocations: 41.31 kB / 0.5775 GB, free: 31.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.156e-06/0.4108, allocations: 0 / 0.5775 GB, free: 31.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02394/0.4348, allocations: 6.485 MB / 0.5838 GB, free: 30.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4349, allocations: 65.47 kB / 0.5839 GB, free: 30.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.436, allocations: 0.7871 MB / 0.5846 GB, free: 29.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.4361, allocations: 37.42 kB / 0.5847 GB, free: 29.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.4364, allocations: 446.1 kB / 0.5851 GB, free: 29.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.4366, allocations: 293.8 kB / 0.5854 GB, free: 29.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.437, allocations: 184.4 kB / 0.5855 GB, free: 28.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.4371, allocations: 349.2 kB / 0.5859 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4385, allocations: 0.6598 MB / 0.5865 GB, free: 28.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.44, allocations: 0.7814 MB / 0.5873 GB, free: 28.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/0.4575, allocations: 4.542 MB / 0.5917 GB, free: 26.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.4576, allocations: 1.125 kB / 0.5917 GB, free: 26.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01358/0.4712, allocations: 4.069 MB / 0.5957 GB, free: 25.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.4712, allocations: 6.656 kB / 0.5957 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.4713, allocations: 6.656 kB / 0.5957 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006067/0.4773, allocations: 1.739 MB / 0.5974 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.4784, allocations: 188.7 kB / 0.5976 GB, free: 25.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/0.4989, allocations: 9.048 MB / 0.6064 GB, free: 21.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.5004, allocations: 159.6 kB / 0.6066 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.5005, allocations: 39.5 kB / 0.6066 GB, free: 21.1 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.0004025/0.5009, allocations: 227.6 kB / 0.6068 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.5011, allocations: 104.2 kB / 0.6069 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.5133, allocations: 3.818 MB / 0.6107 GB, free: 18.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.5134, allocations: 16.39 kB / 0.6107 GB, free: 18.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.5134, allocations: 0 / 0.6107 GB, free: 18.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.5134, allocations: 5.484 kB / 0.6107 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.5265, allocations: 5.377 MB / 0.6159 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.5266, allocations: 0 / 0.6159 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.5271, allocations: 96.81 kB / 0.616 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/0.5325, allocations: 1.744 MB / 0.6177 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/0.5326, allocations: 16 kB / 0.6177 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/0.5484, allocations: 8.061 MB / 0.6256 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5484, allocations: 0 / 0.6256 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.5618, allocations: 4.745 MB / 0.6302 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.5621, allocations: 187.6 kB / 0.6304 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.5623, allocations: 16 kB / 0.6304 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008941/0.5632, allocations: 92.89 kB / 0.6305 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006043/0.5638, allocations: 208.6 kB / 0.6307 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.5639, allocations: 16 kB / 0.6307 GB, free: 14.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006706/0.5646, allocations: 0.5342 MB / 0.6313 GB, free: 13.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5646, allocations: 0 / 0.6313 GB, free: 13.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001201/0.5658, allocations: 407.5 kB / 0.6316 GB, free: 13.38 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.01496/0.5807, allocations: 5.312 MB / 0.6368 GB, free: 8.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007059/0.5878, allocations: 2.342 MB / 0.6391 GB, free: 5.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5879, allocations: 0.5625 kB / 0.6391 GB, free: 5.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004936/0.5928, allocations: 1.509 MB / 0.6406 GB, free: 4.164 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5939, allocations: 76.44 kB / 0.6407 GB, free: 4.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03778/0.6317, allocations: 14.61 MB / 0.6549 GB, free: 5.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.6325, allocations: 1.029 MB / 0.6559 GB, free: 4.125 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004197/0.6329, allocations: 80.14 kB / 0.656 GB, free: 4.047 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006178/0.6335, allocations: 379.3 kB / 0.6564 GB, free: 3.676 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6335, allocations: 0 / 0.6564 GB, free: 3.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06112/0.6947, allocations: 30.61 MB / 0.6863 GB, free: 5.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.31, allocations: 8.047 kB / 0.6863 GB, free: 5.355 MB / 494.1 MB (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)