Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.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 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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 117 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240 MB, free: 4.391 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.001248/0.001248, allocations: 188.5 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4808/0.4808, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 75.88 kB / 0.5033 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3121, allocations: 71.26 MB / 0.5729 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00431/0.3165, allocations: 5.706 MB / 0.5784 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.3186, allocations: 1.734 MB / 0.5801 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.3189, allocations: 11.19 kB / 0.5802 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.3192, allocations: 206.3 kB / 0.5804 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.3203, allocations: 0.6663 MB / 0.581 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.3212, allocations: 0.5663 MB / 0.5816 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.3223, allocations: 1.231 MB / 0.5828 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.3227, allocations: 283.9 kB / 0.583 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005673/0.3233, allocations: 0.5111 MB / 0.5835 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.3239, allocations: 0.6382 MB / 0.5841 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.324, allocations: 84.81 kB / 0.5842 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.3244, allocations: 222.4 kB / 0.5844 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3246, allocations: 239.2 kB / 0.5847 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.325, allocations: 0.5347 MB / 0.5852 GB, free: 29.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009146/0.3259, allocations: 1.34 MB / 0.5865 GB, free: 29.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3259, allocations: 1.719 kB / 0.5865 GB, free: 29.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3259, allocations: 3.5 kB / 0.5865 GB, free: 29.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3259, allocations: 0 / 0.5865 GB, free: 29.13 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006332/0.3323, allocations: 2.334 MB / 0.5888 GB, free: 28.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.3323, allocations: 9.719 kB / 0.5888 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.3369, allocations: 0.7551 MB / 0.5895 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/0.3378, allocations: 0.7067 MB / 0.5902 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.338, allocations: 242 kB / 0.5905 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3381, allocations: 67.22 kB / 0.5905 GB, free: 27.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.3398, allocations: 0.9396 MB / 0.5914 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3398, allocations: 11.2 kB / 0.5914 GB, free: 26.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.3399, allocations: 29.5 kB / 0.5915 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3399, allocations: 16.19 kB / 0.5915 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.3417, allocations: 0.9645 MB / 0.5924 GB, free: 26.5 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.004234/0.346, allocations: 3.133 MB / 0.5955 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.3477, allocations: 1.318 MB / 0.5968 GB, free: 23.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.349, allocations: 0.698 MB / 0.5975 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3491, allocations: 11.69 kB / 0.5975 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3491, allocations: 45.75 kB / 0.5975 GB, free: 23.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.364e-06/0.3491, allocations: 0 / 0.5975 GB, free: 23.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02527/0.3744, allocations: 6.694 MB / 0.6041 GB, free: 22.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.3745, allocations: 60.97 kB / 0.6041 GB, free: 22.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009902/0.3755, allocations: 0.7905 MB / 0.6049 GB, free: 21.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.3757, allocations: 40.86 kB / 0.6049 GB, free: 21.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.3759, allocations: 430.9 kB / 0.6053 GB, free: 21.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.3762, allocations: 292.5 kB / 0.6056 GB, free: 21.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.3765, allocations: 179.3 kB / 0.6058 GB, free: 21.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.3766, allocations: 342.9 kB / 0.6061 GB, free: 20.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.3779, allocations: 0.6399 MB / 0.6067 GB, free: 20.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.3792, allocations: 0.7659 MB / 0.6075 GB, free: 20.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/0.3954, allocations: 4.443 MB / 0.6118 GB, free: 19.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.3954, allocations: 1.797 kB / 0.6118 GB, free: 19.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01149/0.4069, allocations: 4.047 MB / 0.6158 GB, free: 17.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.407, allocations: 6.688 kB / 0.6158 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.407, allocations: 1.281 kB / 0.6158 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005269/0.4122, allocations: 1.863 MB / 0.6176 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.413, allocations: 163.8 kB / 0.6178 GB, free: 16.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/0.4296, allocations: 9.085 MB / 0.6266 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.431, allocations: 159 kB / 0.6268 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.4311, allocations: 35.98 kB / 0.6268 GB, free: 6.652 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0003782/0.4315, allocations: 225.6 kB / 0.627 GB, free: 6.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.4316, allocations: 102.8 kB / 0.6271 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.4417, allocations: 3.821 MB / 0.6309 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.4417, allocations: 8 kB / 0.6309 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4417, allocations: 0 / 0.6309 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4418, allocations: 7.922 kB / 0.6309 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.4541, allocations: 5.318 MB / 0.6361 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.4541, allocations: 8 kB / 0.6361 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.4546, allocations: 87.83 kB / 0.6362 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005198/0.4598, allocations: 1.753 MB / 0.6379 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-05/0.4599, allocations: 19.94 kB / 0.6379 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/0.4765, allocations: 8.065 MB / 0.6458 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4765, allocations: 0 / 0.6458 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.4893, allocations: 4.689 MB / 0.6503 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.4898, allocations: 187.8 kB / 0.6505 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.4899, allocations: 15.94 kB / 0.6505 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008447/0.4908, allocations: 91.89 kB / 0.6506 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005956/0.4914, allocations: 192.7 kB / 0.6508 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.4914, allocations: 28 kB / 0.6508 GB, free: 13.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006481/0.4921, allocations: 0.5263 MB / 0.6514 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.4921, allocations: 4 kB / 0.6514 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001146/0.4933, allocations: 403.5 kB / 0.6517 GB, free: 12.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0002557/0.4935, allocations: 125.8 kB / 0.6519 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005761/0.4993, allocations: 2.303 MB / 0.6541 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4993, allocations: 0 / 0.6541 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003889/0.5032, allocations: 1.5 MB / 0.6556 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.5038, allocations: 79.31 kB / 0.6556 GB, free: 8.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.5065, allocations: 1.649 MB / 0.6573 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.507, allocations: 1.029 MB / 0.6583 GB, free: 6.004 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002389/0.5073, allocations: 82.17 kB / 0.6583 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.5074, allocations: 63.36 kB / 0.6584 GB, free: 5.859 MB / 462.1 MB Notification: Performance of SimCode: time 1.794e-06/0.5074, allocations: 0 / 0.6584 GB, free: 5.859 MB / 462.1 MB Notification: Performance of Templates: time 0.0313/0.5387, allocations: 22.08 MB / 0.68 GB, free: 15.78 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)