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/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/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/package.mo): time 0.1069/0.1069, allocations: 12.2 MB / 27.16 MB, free: 124 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.001192/0.001192, allocations: 108 kB / 30.66 MB, free: 6.43 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.385/1.385, allocations: 205.4 MB / 239.5 MB, free: 10.68 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.001187/0.001187, allocations: 181 kB / 290.6 MB, free: 8.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4323/0.4323, allocations: 78.49 MB / 420.1 MB, free: 6.617 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.000931/0.0009311, allocations: 32.25 kB / 0.4895 GB, free: 38.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1097, allocations: 69.24 MB / 0.5571 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004527/0.1143, allocations: 5.105 MB / 0.5621 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.117, allocations: 1.683 MB / 0.5637 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003882/0.1174, allocations: 15.94 kB / 0.5638 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.1178, allocations: 146.9 kB / 0.5639 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.1191, allocations: 0.6307 MB / 0.5645 GB, free: 1.316 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.000966/0.12, allocations: 492.6 kB / 0.565 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009599/0.121, allocations: 0.8224 MB / 0.5658 GB, free: 20 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.1213, allocations: 215.4 kB / 0.566 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.1218, allocations: 466.1 kB / 0.5664 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.1224, allocations: 0.5562 MB / 0.567 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.1225, allocations: 48 kB / 0.567 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.1229, allocations: 155.9 kB / 0.5672 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1231, allocations: 187.1 kB / 0.5673 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1233, allocations: 201.1 kB / 0.5675 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000872/0.1242, allocations: 0.9508 MB / 0.5685 GB, free: 13.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1242, allocations: 0 / 0.5685 GB, free: 13.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1242, allocations: 3.938 kB / 0.5685 GB, free: 13.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1242, allocations: 0 / 0.5685 GB, free: 13.24 MB / 398.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.006948/0.1312, allocations: 2.209 MB / 0.5706 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1312, allocations: 11.98 kB / 0.5706 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.1314, allocations: 114.5 kB / 0.5707 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.1363, allocations: 0.7634 MB / 0.5715 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.1374, allocations: 0.6745 MB / 0.5722 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.1377, allocations: 264.2 kB / 0.5724 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1378, allocations: 68 kB / 0.5725 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.1398, allocations: 1.022 MB / 0.5735 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1398, allocations: 0 / 0.5735 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.1399, allocations: 28 kB / 0.5735 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.14, allocations: 16 kB / 0.5735 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.1421, allocations: 1.062 MB / 0.5745 GB, free: 6.867 MB / 398.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.005125/0.1472, allocations: 3.337 MB / 0.5778 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.1492, allocations: 1.387 MB / 0.5792 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.634e-05/0.1493, allocations: 9 kB / 0.5792 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.1494, allocations: 43.56 kB / 0.5792 GB, free: 1.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 3.035e-06/0.1494, allocations: 0 / 0.5792 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02645/0.1758, allocations: 8.017 MB / 0.587 GB, free: 9.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1759, allocations: 60.41 kB / 0.5871 GB, free: 9.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009698/0.1769, allocations: 0.7829 MB / 0.5879 GB, free: 8.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.1771, allocations: 45.64 kB / 0.5879 GB, free: 8.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.1774, allocations: 440.4 kB / 0.5883 GB, free: 8.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.1777, allocations: 291.7 kB / 0.5886 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.1778, allocations: 24 kB / 0.5886 GB, free: 8.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1779, allocations: 345.9 kB / 0.589 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.1793, allocations: 0.7249 MB / 0.5897 GB, free: 7.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.1809, allocations: 0.8576 MB / 0.5905 GB, free: 6.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.1824, allocations: 0.7849 MB / 0.5913 GB, free: 5.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1824, allocations: 0 / 0.5913 GB, free: 5.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01397/0.1964, allocations: 5.035 MB / 0.5962 GB, free: 288 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.1964, allocations: 8 kB / 0.5962 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1965, allocations: 4 kB / 0.5962 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006522/0.203, allocations: 2.084 MB / 0.5982 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008941/0.2039, allocations: 187.7 kB / 0.5984 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/0.2256, allocations: 9.967 MB / 0.6081 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.227, allocations: 195 kB / 0.6083 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/0.2271, allocations: 39.98 kB / 0.6084 GB, free: 3.66 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004231/0.2276, allocations: 225.7 kB / 0.6086 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.2277, allocations: 98.78 kB / 0.6087 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.2411, allocations: 4.719 MB / 0.6133 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.2411, allocations: 16 kB / 0.6133 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.2411, allocations: 0 / 0.6133 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.2412, allocations: 3.984 kB / 0.6133 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.2567, allocations: 6.278 MB / 0.6194 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.2568, allocations: 3.938 kB / 0.6194 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/0.2574, allocations: 99.89 kB / 0.6195 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006245/0.2636, allocations: 2.049 MB / 0.6215 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.2638, allocations: 23.98 kB / 0.6216 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02045/0.2843, allocations: 8.644 MB / 0.63 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2843, allocations: 0 / 0.63 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01628/0.3006, allocations: 5.712 MB / 0.6356 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.3011, allocations: 191.7 kB / 0.6358 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.3012, allocations: 16 kB / 0.6358 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.3022, allocations: 123.9 kB / 0.6359 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006724/0.3029, allocations: 200.6 kB / 0.6361 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.303, allocations: 27.92 kB / 0.6361 GB, free: 6.891 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007349/0.3038, allocations: 0.5224 MB / 0.6366 GB, free: 6.371 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3038, allocations: 0 / 0.6366 GB, free: 6.371 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001357/0.3051, allocations: 407.6 kB / 0.637 GB, free: 5.973 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02297/0.3281, allocations: 6.303 MB / 0.6432 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01256/0.3407, allocations: 2.578 MB / 0.6457 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.3408, allocations: 4.062 kB / 0.6457 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009304/0.3501, allocations: 1.704 MB / 0.6474 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3513, allocations: 63.34 kB / 0.6474 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008278/0.3596, allocations: 3.932 MB / 0.6513 GB, free: 7.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000999/0.3607, allocations: 1.06 MB / 0.6523 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006216/0.3613, allocations: 82.25 kB / 0.6524 GB, free: 6.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008563/0.3622, allocations: 367.3 kB / 0.6527 GB, free: 5.719 MB / 478.1 MB Notification: Performance of SimCode: time 1.844e-06/0.3622, allocations: 0 / 0.6527 GB, free: 5.719 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2867/0.6489, allocations: 27.05 MB / 0.6791 GB, free: 89.76 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.6491, allocations: 211.4 kB / 0.6793 GB, free: 89.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.252, allocations: 0 / 0.6793 GB, free: 89.52 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) Environment - environmentSimulation: