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.08756/0.08756, allocations: 12.6 MB / 28.23 MB, free: 116 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.001038/0.001038, allocations: 115.4 kB / 31.83 MB, free: 3.422 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.358/1.358, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.00165/0.00165, allocations: 180.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.452/0.452, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.002651/0.002651, allocations: 139.2 kB / 0.5554 GB, free: 28.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1137, allocations: 68.14 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006262/0.12, allocations: 5.838 MB / 0.6276 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.1236, allocations: 1.713 MB / 0.6293 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006674/0.1242, allocations: 12 kB / 0.6293 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.125, allocations: 210.2 kB / 0.6295 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.127, allocations: 0.7346 MB / 0.6302 GB, free: 7.41 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.001393/0.1284, allocations: 0.5604 MB / 0.6308 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.13, allocations: 1.257 MB / 0.632 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.1305, allocations: 271.2 kB / 0.6322 GB, free: 5.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.1313, allocations: 0.5251 MB / 0.6328 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008922/0.1322, allocations: 0.6455 MB / 0.6334 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.1325, allocations: 88 kB / 0.6335 GB, free: 4.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.133, allocations: 223.9 kB / 0.6337 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.1332, allocations: 238.9 kB / 0.6339 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006461/0.1339, allocations: 0.5475 MB / 0.6344 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.1354, allocations: 1.356 MB / 0.6358 GB, free: 1.691 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1354, allocations: 4 kB / 0.6358 GB, free: 1.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1354, allocations: 0 / 0.6358 GB, free: 1.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.1354, allocations: 0 / 0.6358 GB, free: 1.688 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.007632/0.1431, allocations: 2.352 MB / 0.6381 GB, free: 15.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1431, allocations: 11.98 kB / 0.6381 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.1433, allocations: 114.5 kB / 0.6382 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/0.1484, allocations: 0.7596 MB / 0.6389 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.15, allocations: 0.7088 MB / 0.6396 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.1503, allocations: 252 kB / 0.6399 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.1506, allocations: 72 kB / 0.6399 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.1527, allocations: 0.9559 MB / 0.6409 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1527, allocations: 8 kB / 0.6409 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.1528, allocations: 28 kB / 0.6409 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1528, allocations: 16 kB / 0.6409 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.1549, allocations: 0.9721 MB / 0.6419 GB, free: 11.29 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.0053/0.1602, allocations: 3.17 MB / 0.645 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.1621, allocations: 1.309 MB / 0.6462 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.1635, allocations: 0.7048 MB / 0.6469 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1636, allocations: 12.94 kB / 0.6469 GB, free: 5.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1636, allocations: 51.55 kB / 0.647 GB, free: 5.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.615e-06/0.1636, allocations: 0 / 0.647 GB, free: 5.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02364/0.1873, allocations: 6.473 MB / 0.6533 GB, free: 15.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1873, allocations: 68.34 kB / 0.6534 GB, free: 15.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.1884, allocations: 0.7945 MB / 0.6542 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.1886, allocations: 41.7 kB / 0.6542 GB, free: 14.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.1889, allocations: 428.5 kB / 0.6546 GB, free: 13.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004198/0.1893, allocations: 295.7 kB / 0.6549 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004011/0.1897, allocations: 186.8 kB / 0.6551 GB, free: 13.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1899, allocations: 345.9 kB / 0.6554 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/0.1913, allocations: 0.6624 MB / 0.656 GB, free: 12.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.1929, allocations: 0.7796 MB / 0.6568 GB, free: 11.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/0.2103, allocations: 4.524 MB / 0.6612 GB, free: 7.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.2103, allocations: 4 kB / 0.6612 GB, free: 7.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01255/0.2229, allocations: 4.071 MB / 0.6652 GB, free: 2.953 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.2229, allocations: 4 kB / 0.6652 GB, free: 2.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.223, allocations: 4 kB / 0.6652 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005722/0.2287, allocations: 1.741 MB / 0.6669 GB, free: 1.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.2297, allocations: 187.7 kB / 0.6671 GB, free: 1.016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/0.2501, allocations: 9.048 MB / 0.6759 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.2515, allocations: 163 kB / 0.6761 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.2517, allocations: 39.92 kB / 0.6761 GB, free: 7.613 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 (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.0005997/0.2523, allocations: 217.7 kB / 0.6763 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.2526, allocations: 102.8 kB / 0.6764 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/0.2642, allocations: 3.813 MB / 0.6801 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.2642, allocations: 15.94 kB / 0.6802 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2642, allocations: 0 / 0.6802 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.2643, allocations: 7.922 kB / 0.6802 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.2779, allocations: 5.38 MB / 0.6854 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.2779, allocations: 0 / 0.6854 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.2785, allocations: 87.89 kB / 0.6855 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005518/0.284, allocations: 1.749 MB / 0.6872 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.2842, allocations: 15.98 kB / 0.6872 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.3028, allocations: 8.042 MB / 0.6951 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3028, allocations: 0 / 0.6951 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.3168, allocations: 4.744 MB / 0.6997 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.3173, allocations: 179.7 kB / 0.6999 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.3175, allocations: 16 kB / 0.6999 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008749/0.3184, allocations: 95.89 kB / 0.7 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006741/0.3191, allocations: 204.5 kB / 0.7002 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.3192, allocations: 24 kB / 0.7002 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006803/0.3199, allocations: 0.5341 MB / 0.7007 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3199, allocations: 0 / 0.7007 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001184/0.3211, allocations: 407.5 kB / 0.7011 GB, free: 13.65 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 (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.01394/0.335, allocations: 5.315 MB / 0.7063 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006096/0.3411, allocations: 2.308 MB / 0.7086 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3412, allocations: 3.938 kB / 0.7086 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004361/0.3455, allocations: 1.515 MB / 0.7101 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008231/0.3464, allocations: 79.33 kB / 0.7101 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2707/0.6171, allocations: 14.15 MB / 0.7239 GB, free: 85.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.6177, allocations: 1.032 MB / 0.7249 GB, free: 84.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.6181, allocations: 77.25 kB / 0.725 GB, free: 84.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/0.6186, allocations: 376.3 kB / 0.7254 GB, free: 84.33 MB / 0.5137 GB Notification: Performance of SimCode: time 2.154e-06/0.6186, allocations: 0 / 0.7254 GB, free: 84.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05464/0.6733, allocations: 30.97 MB / 0.7556 GB, free: 64.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/16.46, allocations: 7.781 kB / 0.7556 GB, free: 64.29 MB / 0.5137 GB (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/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)