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.1138/0.1138, allocations: 12.59 MB / 28.22 MB, free: 0.7734 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 111.4 kB / 31.83 MB, free: 3.895 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.266/1.266, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001277/0.001277, allocations: 191.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3903/0.3903, allocations: 78.51 MB / 419.3 MB, free: 11.26 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.002467/0.002467, allocations: 139.9 kB / 0.5554 GB, free: 28.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1021, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005714/0.1079, allocations: 5.846 MB / 0.6276 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.1108, allocations: 1.717 MB / 0.6293 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004492/0.1113, allocations: 8 kB / 0.6293 GB, free: 8.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.1117, allocations: 210.2 kB / 0.6295 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.1132, allocations: 0.68 MB / 0.6302 GB, free: 7.449 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.001131/0.1143, allocations: 0.561 MB / 0.6307 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.1156, allocations: 1.257 MB / 0.6319 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.116, allocations: 271.2 kB / 0.6322 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.1165, allocations: 0.5251 MB / 0.6327 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/0.1172, allocations: 0.6416 MB / 0.6333 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.1173, allocations: 91.94 kB / 0.6334 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.1177, allocations: 223.9 kB / 0.6336 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1179, allocations: 242.9 kB / 0.6339 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.1183, allocations: 0.5436 MB / 0.6344 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1195, allocations: 1.356 MB / 0.6357 GB, free: 1.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1195, allocations: 0 / 0.6357 GB, free: 1.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1195, allocations: 4 kB / 0.6357 GB, free: 1.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1195, allocations: 0 / 0.6357 GB, free: 1.727 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.006923/0.1264, allocations: 2.352 MB / 0.638 GB, free: 15.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1265, allocations: 11.98 kB / 0.638 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.1266, allocations: 118.5 kB / 0.6382 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/0.1312, allocations: 0.7518 MB / 0.6389 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1324, allocations: 0.7127 MB / 0.6396 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.1326, allocations: 256 kB / 0.6398 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.1328, allocations: 68 kB / 0.6399 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.1347, allocations: 0.9598 MB / 0.6408 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.1348, allocations: 4 kB / 0.6408 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.1348, allocations: 28 kB / 0.6409 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.1349, allocations: 16 kB / 0.6409 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.1368, allocations: 0.976 MB / 0.6418 GB, free: 11.33 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.004977/0.1418, allocations: 3.166 MB / 0.6449 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.1438, allocations: 1.306 MB / 0.6462 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.1452, allocations: 0.7048 MB / 0.6469 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1453, allocations: 16.97 kB / 0.6469 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1453, allocations: 43.5 kB / 0.6469 GB, free: 5.809 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.1453, allocations: 0 / 0.6469 GB, free: 5.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02488/0.1702, allocations: 6.477 MB / 0.6533 GB, free: 15.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1703, allocations: 64.34 kB / 0.6533 GB, free: 15.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009237/0.1712, allocations: 0.7945 MB / 0.6541 GB, free: 14.42 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.1714, allocations: 37.7 kB / 0.6541 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.1717, allocations: 432.5 kB / 0.6546 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.1719, allocations: 299.7 kB / 0.6548 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.1723, allocations: 182.9 kB / 0.655 GB, free: 13.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1724, allocations: 349.9 kB / 0.6553 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.1738, allocations: 0.6584 MB / 0.656 GB, free: 12.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.1753, allocations: 0.7835 MB / 0.6568 GB, free: 11.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/0.1927, allocations: 4.52 MB / 0.6612 GB, free: 7.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.1928, allocations: 4 kB / 0.6612 GB, free: 7.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01297/0.2058, allocations: 4.075 MB / 0.6651 GB, free: 2.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.2058, allocations: 4 kB / 0.6652 GB, free: 2.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.2058, allocations: 11.98 kB / 0.6652 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/0.2117, allocations: 1.741 MB / 0.6669 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008618/0.2126, allocations: 187.7 kB / 0.667 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.2327, allocations: 9.045 MB / 0.6759 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.2339, allocations: 155 kB / 0.676 GB, free: 7.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/0.234, allocations: 36 kB / 0.6761 GB, free: 7.656 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.0003671/0.2344, allocations: 229.6 kB / 0.6763 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.2346, allocations: 98.78 kB / 0.6764 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.247, allocations: 3.809 MB / 0.6801 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.247, allocations: 19.94 kB / 0.6801 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.247, allocations: 0 / 0.6801 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.2471, allocations: 3.984 kB / 0.6801 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.2612, allocations: 5.376 MB / 0.6854 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.2612, allocations: 0 / 0.6854 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.2617, allocations: 91.89 kB / 0.6855 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005806/0.2675, allocations: 1.745 MB / 0.6872 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.2677, allocations: 19.94 kB / 0.6872 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.2857, allocations: 8.038 MB / 0.695 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2858, allocations: 0 / 0.695 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/0.3001, allocations: 4.744 MB / 0.6997 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.3005, allocations: 183.7 kB / 0.6998 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.3006, allocations: 12 kB / 0.6998 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/0.3016, allocations: 99.89 kB / 0.6999 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005697/0.3022, allocations: 208.5 kB / 0.7001 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.3023, allocations: 20 kB / 0.7002 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005977/0.3029, allocations: 0.5303 MB / 0.7007 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3029, allocations: 0 / 0.7007 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001059/0.3039, allocations: 407.5 kB / 0.7011 GB, free: 13.7 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.01439/0.3183, allocations: 5.319 MB / 0.7063 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006095/0.3245, allocations: 2.305 MB / 0.7085 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3245, allocations: 0 / 0.7085 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004407/0.3289, allocations: 1.527 MB / 0.71 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/0.3296, allocations: 79.5 kB / 0.7101 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2326/0.5622, allocations: 14.14 MB / 0.7239 GB, free: 84.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.5627, allocations: 1.035 MB / 0.7249 GB, free: 84.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003104/0.563, allocations: 84.45 kB / 0.725 GB, free: 84.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.5634, allocations: 373 kB / 0.7253 GB, free: 83.99 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.5634, allocations: 1.031 kB / 0.7253 GB, free: 83.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.085/2.649, allocations: 32.29 MB / 0.7569 GB, free: 62.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.99/24.64, allocations: 11.44 kB / 0.7569 GB, free: 62.44 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)