Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 172.1 kB / 15.42 MB, free: 6.141 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.8 MB / 239 MB, free: 92 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009755/0.0009754, allocations: 95.95 kB / 289.8 MB, free: 4.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3095/0.3095, allocations: 78.44 MB / 418.9 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8 kB / 498.5 MB, free: 35.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2856, allocations: 68.74 MB / 0.554 GB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.006299/0.2919, allocations: 6.698 MB / 0.5605 GB, free: 5.996 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.2965, allocations: 1.988 MB / 0.5625 GB, free: 4.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.2974, allocations: 13.31 kB / 0.5625 GB, free: 4.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.2982, allocations: 179.1 kB / 0.5626 GB, free: 4.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.2998, allocations: 0.6564 MB / 0.5633 GB, free: 4.082 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.0014/0.3012, allocations: 0.6201 MB / 0.5639 GB, free: 3.727 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.3027, allocations: 1.391 MB / 0.5652 GB, free: 3.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.3031, allocations: 286 kB / 0.5655 GB, free: 2.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006865/0.3038, allocations: 0.5183 MB / 0.566 GB, free: 2.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.3045, allocations: 0.6596 MB / 0.5667 GB, free: 2.363 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3046, allocations: 52.78 kB / 0.5667 GB, free: 2.363 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.3051, allocations: 183 kB / 0.5669 GB, free: 2.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.3053, allocations: 231.6 kB / 0.5671 GB, free: 2.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003979/0.3057, allocations: 0.552 MB / 0.5676 GB, free: 1.824 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.3072, allocations: 1.442 MB / 0.5691 GB, free: 1.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3072, allocations: 1.219 kB / 0.5691 GB, free: 1.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3072, allocations: 0 / 0.5691 GB, free: 1.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.3072, allocations: 0 / 0.5691 GB, free: 1.273 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007781/0.315, allocations: 2.305 MB / 0.5713 GB, free: 256 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3151, allocations: 10.12 kB / 0.5713 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/0.3153, allocations: 126 kB / 0.5714 GB, free: 164 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005079/0.3204, allocations: 0.772 MB / 0.5722 GB, free: 12 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.3221, allocations: 0.8123 MB / 0.573 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.3224, allocations: 253.4 kB / 0.5732 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.3226, allocations: 82.91 kB / 0.5733 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.3249, allocations: 1.127 MB / 0.5744 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3249, allocations: 5.281 kB / 0.5744 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.325, allocations: 30.09 kB / 0.5744 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.325, allocations: 17.03 kB / 0.5745 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.3274, allocations: 1.068 MB / 0.5755 GB, free: 14.41 MB / 394.7 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.005931/0.3333, allocations: 3.463 MB / 0.5789 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.3355, allocations: 1.438 MB / 0.5803 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.337, allocations: 0.754 MB / 0.581 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.3371, allocations: 10.66 kB / 0.581 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.3371, allocations: 44.27 kB / 0.5811 GB, free: 10.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 2.815e-06/0.3371, allocations: 0 / 0.5811 GB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=90): time 0.02403/0.3612, allocations: 6.501 MB / 0.5874 GB, free: 7.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.3613, allocations: 87.95 kB / 0.5875 GB, free: 6.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.3628, allocations: 0.9327 MB / 0.5884 GB, free: 6.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.363, allocations: 41.48 kB / 0.5885 GB, free: 6.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.3633, allocations: 497.6 kB / 0.5889 GB, free: 5.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.3637, allocations: 320.8 kB / 0.5892 GB, free: 5.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.3638, allocations: 104.1 kB / 0.5893 GB, free: 5.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.364, allocations: 350.7 kB / 0.5897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.3655, allocations: 0.7016 MB / 0.5904 GB, free: 4.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.3671, allocations: 0.8327 MB / 0.5912 GB, free: 4.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/0.3847, allocations: 4.72 MB / 0.5958 GB, free: 16 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.3848, allocations: 0 / 0.5958 GB, free: 16 kB / 394.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01292/0.3977, allocations: 4.218 MB / 0.5999 GB, free: 11.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.3979, allocations: 153.1 kB / 0.6 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3979, allocations: 8 kB / 0.6001 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005546/0.4035, allocations: 1.714 MB / 0.6017 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.4046, allocations: 203.6 kB / 0.6019 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/0.4232, allocations: 8.348 MB / 0.6101 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.425, allocations: 174.9 kB / 0.6102 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.4252, allocations: 39.98 kB / 0.6103 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4252, allocations: 4 kB / 0.6103 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01241/0.4376, allocations: 4.07 MB / 0.6143 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.4377, allocations: 4 kB / 0.6143 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005674/0.4434, allocations: 1.718 MB / 0.6159 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.4444, allocations: 203.7 kB / 0.6161 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/0.4626, allocations: 8.317 MB / 0.6243 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.4641, allocations: 167.1 kB / 0.6244 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.4642, allocations: 35.98 kB / 0.6244 GB, free: 2.305 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (111): * Single equations (assignments): 110 * 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.0005832/0.4648, allocations: 329.8 kB / 0.6248 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.465, allocations: 122.5 kB / 0.6249 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.4772, allocations: 3.94 MB / 0.6287 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4773, allocations: 8 kB / 0.6287 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4773, allocations: 0 / 0.6287 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.4773, allocations: 3.984 kB / 0.6287 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.4915, allocations: 5.563 MB / 0.6342 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.4916, allocations: 0 / 0.6342 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.4923, allocations: 107.9 kB / 0.6343 GB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005521/0.4978, allocations: 1.737 MB / 0.636 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.498, allocations: 16 kB / 0.636 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/0.5143, allocations: 7.342 MB / 0.6432 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.5143, allocations: 3.938 kB / 0.6432 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.5283, allocations: 4.868 MB / 0.6479 GB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.5288, allocations: 207.4 kB / 0.6481 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.529, allocations: 16 kB / 0.6481 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5301, allocations: 107.9 kB / 0.6482 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006585/0.5308, allocations: 200.6 kB / 0.6484 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.5308, allocations: 20 kB / 0.6484 GB, free: 9.383 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009097/0.5318, allocations: 0.6391 MB / 0.6491 GB, free: 8.734 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5318, allocations: 4 kB / 0.6491 GB, free: 8.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001781/0.5336, allocations: 0.6905 MB / 0.6497 GB, free: 8.039 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.01455/0.5481, allocations: 5.448 MB / 0.6551 GB, free: 2.555 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0106/0.5587, allocations: 4.051 MB / 0.659 GB, free: 14.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5588, allocations: 0 / 0.659 GB, free: 14.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004296/0.5631, allocations: 1.517 MB / 0.6605 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.5641, allocations: 104.2 kB / 0.6606 GB, free: 12.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03751/0.6016, allocations: 16.23 MB / 0.6764 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006852/0.6023, allocations: 1.109 MB / 0.6775 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006162/0.603, allocations: 118.9 kB / 0.6776 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/0.6035, allocations: 419.3 kB / 0.678 GB, free: 10.55 MB / 490.7 MB Notification: Performance of SimCode: time 4.6e-07/0.6035, allocations: 0 / 0.678 GB, free: 10.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05778/0.6613, allocations: 36.89 MB / 0.7141 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.6615, allocations: 230.4 kB / 0.7143 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/3.779, allocations: 0 / 0.7143 GB, free: 5.574 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)