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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1115/0.1115, allocations: 12.59 MB / 28.09 MB, free: 388 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.001117/0.001117, allocations: 107.5 kB / 31.7 MB, free: 3.531 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.408/1.408, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.00127/0.00127, allocations: 192.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4251/0.4251, allocations: 78.5 MB / 419.2 MB, free: 11.35 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.002796/0.002797, allocations: 147.8 kB / 499.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2958, allocations: 68.1 MB / 0.5546 GB, free: 32.67 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005571/0.3014, allocations: 5.84 MB / 0.5603 GB, free: 28.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.3052, allocations: 1.714 MB / 0.5619 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008441/0.3061, allocations: 9.406 kB / 0.5619 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.3065, allocations: 202.5 kB / 0.5621 GB, free: 26.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.3081, allocations: 0.6812 MB / 0.5628 GB, free: 26.39 MB / 398.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.00122/0.3093, allocations: 0.5718 MB / 0.5634 GB, free: 25.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.3105, allocations: 1.242 MB / 0.5646 GB, free: 25.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.3109, allocations: 290 kB / 0.5649 GB, free: 25.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.3115, allocations: 0.5213 MB / 0.5654 GB, free: 24.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.312, allocations: 0.6438 MB / 0.566 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.3122, allocations: 86.25 kB / 0.5661 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.3127, allocations: 225.4 kB / 0.5663 GB, free: 24.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3128, allocations: 242.8 kB / 0.5665 GB, free: 24.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.3132, allocations: 0.5425 MB / 0.5671 GB, free: 23.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.3143, allocations: 1.351 MB / 0.5684 GB, free: 22.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3143, allocations: 0 / 0.5684 GB, free: 22.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3143, allocations: 1.812 kB / 0.5684 GB, free: 22.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.3143, allocations: 0 / 0.5684 GB, free: 22.64 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.007595/0.3219, allocations: 2.343 MB / 0.5707 GB, free: 21.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.322, allocations: 13.39 kB / 0.5707 GB, free: 21.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00509/0.3271, allocations: 0.7642 MB / 0.5714 GB, free: 20.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3283, allocations: 0.7043 MB / 0.5721 GB, free: 20.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.3286, allocations: 251.6 kB / 0.5723 GB, free: 20.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.3287, allocations: 65.25 kB / 0.5724 GB, free: 20.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.3306, allocations: 0.9661 MB / 0.5734 GB, free: 19.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3306, allocations: 3.938 kB / 0.5734 GB, free: 19.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.3307, allocations: 29.44 kB / 0.5734 GB, free: 19.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3307, allocations: 17.06 kB / 0.5734 GB, free: 19.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.3327, allocations: 0.9744 MB / 0.5744 GB, free: 18.98 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.004477/0.3372, allocations: 3.179 MB / 0.5775 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.3389, allocations: 1.31 MB / 0.5787 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.3401, allocations: 0.7087 MB / 0.5794 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.412e-05/0.3402, allocations: 13 kB / 0.5794 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.3402, allocations: 39.56 kB / 0.5795 GB, free: 13.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.735e-06/0.3402, allocations: 0 / 0.5795 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02403/0.3643, allocations: 6.477 MB / 0.5858 GB, free: 7.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.3643, allocations: 64.41 kB / 0.5859 GB, free: 7.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008515/0.3652, allocations: 0.7906 MB / 0.5866 GB, free: 6.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.3653, allocations: 41.69 kB / 0.5867 GB, free: 6.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.3656, allocations: 440.4 kB / 0.5871 GB, free: 5.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.3658, allocations: 299.7 kB / 0.5874 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.3661, allocations: 186.9 kB / 0.5876 GB, free: 5.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.3662, allocations: 353.9 kB / 0.5879 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.3674, allocations: 0.6546 MB / 0.5885 GB, free: 4.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.3687, allocations: 0.7835 MB / 0.5893 GB, free: 3.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01679/0.3855, allocations: 4.534 MB / 0.5937 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.3856, allocations: 4 kB / 0.5937 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01334/0.399, allocations: 4.075 MB / 0.5977 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.399, allocations: 7.938 kB / 0.5977 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.399, allocations: 4 kB / 0.5977 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006231/0.4053, allocations: 1.749 MB / 0.5994 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4063, allocations: 179.7 kB / 0.5996 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/0.4279, allocations: 9.066 MB / 0.6085 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.4295, allocations: 147.1 kB / 0.6086 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.4296, allocations: 35.98 kB / 0.6086 GB, free: 15.43 MB / 430.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.0004753/0.4301, allocations: 235.4 kB / 0.6089 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.4303, allocations: 98.78 kB / 0.609 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/0.4431, allocations: 3.813 MB / 0.6127 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.4432, allocations: 15.94 kB / 0.6127 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4432, allocations: 0 / 0.6127 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.4432, allocations: 7.984 kB / 0.6127 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.4583, allocations: 5.387 MB / 0.618 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.4583, allocations: 0 / 0.618 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005781/0.4589, allocations: 91.89 kB / 0.618 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006018/0.4649, allocations: 1.749 MB / 0.6198 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.4651, allocations: 16 kB / 0.6198 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/0.4842, allocations: 8.053 MB / 0.6276 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4843, allocations: 0 / 0.6276 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/0.4991, allocations: 4.739 MB / 0.6323 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.4996, allocations: 191.6 kB / 0.6324 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.4998, allocations: 16 kB / 0.6325 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/0.5008, allocations: 87.89 kB / 0.6325 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006331/0.5014, allocations: 204.5 kB / 0.6327 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.5015, allocations: 24 kB / 0.6328 GB, free: 6.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006951/0.5022, allocations: 0.5303 MB / 0.6333 GB, free: 5.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5022, allocations: 0 / 0.6333 GB, free: 5.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001196/0.5034, allocations: 415.5 kB / 0.6337 GB, free: 5.422 MB / 446.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 (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.0002769/0.5037, allocations: 123.2 kB / 0.6338 GB, free: 5.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006619/0.5103, allocations: 2.344 MB / 0.6361 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5104, allocations: 64 / 0.6361 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004811/0.5152, allocations: 1.519 MB / 0.6376 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/0.5161, allocations: 78 kB / 0.6376 GB, free: 1.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.5197, allocations: 1.789 MB / 0.6394 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.5204, allocations: 1.029 MB / 0.6404 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.5208, allocations: 82.3 kB / 0.6405 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.521, allocations: 63.42 kB / 0.6405 GB, free: 14.32 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.521, allocations: 0 / 0.6405 GB, free: 14.32 MB / 462.1 MB Notification: Performance of Templates: time 0.03661/0.5576, allocations: 22.2 MB / 0.6622 GB, free: 8.125 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)