Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0898/0.0898, allocations: 12.61 MB / 28.87 MB, free: 6.535 MB / 26.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 115.5 kB / 32.46 MB, free: 3.348 MB / 26.2 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 241.1 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.001387/0.001387, allocations: 192.4 kB / 291.3 MB, free: 13.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4324/0.4324, allocations: 78.52 MB / 419.9 MB, free: 11.34 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.00276/0.00276, allocations: 135.8 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2922, allocations: 68.12 MB / 0.556 GB, free: 33.08 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005585/0.2978, allocations: 5.787 MB / 0.5617 GB, free: 28.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.301, allocations: 1.706 MB / 0.5633 GB, free: 27.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.3015, allocations: 14.66 kB / 0.5633 GB, free: 27.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.302, allocations: 202.2 kB / 0.5635 GB, free: 27.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.3034, allocations: 0.6812 MB / 0.5642 GB, free: 26.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3044, allocations: 0.5618 MB / 0.5647 GB, free: 26.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.3056, allocations: 1.25 MB / 0.566 GB, free: 25.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.306, allocations: 277.7 kB / 0.5662 GB, free: 25.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.3066, allocations: 0.5252 MB / 0.5667 GB, free: 25.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005358/0.3071, allocations: 0.6385 MB / 0.5674 GB, free: 24.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.3072, allocations: 87.09 kB / 0.5674 GB, free: 24.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.3077, allocations: 229.1 kB / 0.5677 GB, free: 24.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3078, allocations: 242.3 kB / 0.5679 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003707/0.3082, allocations: 0.5422 MB / 0.5684 GB, free: 23.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3094, allocations: 1.358 MB / 0.5698 GB, free: 22.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3094, allocations: 4 kB / 0.5698 GB, free: 22.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3094, allocations: 0 / 0.5698 GB, free: 22.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.3095, allocations: 0 / 0.5698 GB, free: 22.91 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006864/0.3163, allocations: 2.355 MB / 0.5721 GB, free: 21.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3164, allocations: 12.58 kB / 0.5721 GB, free: 21.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.3213, allocations: 0.7609 MB / 0.5728 GB, free: 21.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.3224, allocations: 0.7033 MB / 0.5735 GB, free: 20.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.3227, allocations: 251.8 kB / 0.5737 GB, free: 20.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3228, allocations: 63.69 kB / 0.5738 GB, free: 20.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.3246, allocations: 0.962 MB / 0.5747 GB, free: 19.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3246, allocations: 3.938 kB / 0.5747 GB, free: 19.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.3247, allocations: 29.34 kB / 0.5748 GB, free: 19.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.3247, allocations: 16.03 kB / 0.5748 GB, free: 19.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.3267, allocations: 0.972 MB / 0.5757 GB, free: 19.09 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.004603/0.3313, allocations: 3.154 MB / 0.5788 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.3329, allocations: 1.308 MB / 0.5801 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.3341, allocations: 0.7038 MB / 0.5808 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.3342, allocations: 12.66 kB / 0.5808 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.3342, allocations: 43.22 kB / 0.5808 GB, free: 13.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.816e-06/0.3342, allocations: 0 / 0.5808 GB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=82): time 0.02362/0.3578, allocations: 6.751 MB / 0.5874 GB, free: 6.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3579, allocations: 60.06 kB / 0.5875 GB, free: 6.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000899/0.3588, allocations: 0.8064 MB / 0.5883 GB, free: 5.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.359, allocations: 45.64 kB / 0.5883 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.3592, allocations: 432.4 kB / 0.5887 GB, free: 5.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.3594, allocations: 299.8 kB / 0.589 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/0.3597, allocations: 182.8 kB / 0.5892 GB, free: 4.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.3598, allocations: 349.8 kB / 0.5895 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.361, allocations: 0.6506 MB / 0.5902 GB, free: 3.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.3622, allocations: 0.7718 MB / 0.5909 GB, free: 3.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/0.3785, allocations: 4.5 MB / 0.5953 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3786, allocations: 0 / 0.5953 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01308/0.3917, allocations: 4.117 MB / 0.5993 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.3917, allocations: 4 kB / 0.5993 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3918, allocations: 4 kB / 0.5993 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006327/0.3981, allocations: 1.788 MB / 0.6011 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009495/0.3991, allocations: 163.8 kB / 0.6012 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/0.421, allocations: 9.329 MB / 0.6103 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4225, allocations: 155 kB / 0.6105 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4226, allocations: 35.98 kB / 0.6105 GB, free: 14.84 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000458/0.4231, allocations: 225.3 kB / 0.6107 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.4233, allocations: 102.7 kB / 0.6108 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.4354, allocations: 3.837 MB / 0.6146 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.4355, allocations: 8 kB / 0.6146 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.4355, allocations: 0 / 0.6146 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/0.4355, allocations: 7.984 kB / 0.6146 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.4491, allocations: 5.349 MB / 0.6198 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.4492, allocations: 0 / 0.6198 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.4497, allocations: 91.89 kB / 0.6199 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005617/0.4553, allocations: 1.741 MB / 0.6216 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.4555, allocations: 16 kB / 0.6216 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.473, allocations: 8.068 MB / 0.6295 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.473, allocations: 3.938 kB / 0.6295 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.4862, allocations: 4.704 MB / 0.6341 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.4866, allocations: 187.7 kB / 0.6343 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.4868, allocations: 27.92 kB / 0.6343 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000853/0.4877, allocations: 83.91 kB / 0.6344 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005939/0.4883, allocations: 204.7 kB / 0.6346 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.4884, allocations: 20 kB / 0.6346 GB, free: 5.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006618/0.489, allocations: 0.5383 MB / 0.6351 GB, free: 5.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.489, allocations: 0 / 0.6351 GB, free: 5.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001226/0.4903, allocations: 407.6 kB / 0.6355 GB, free: 4.875 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0002748/0.4906, allocations: 123.5 kB / 0.6356 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006031/0.4966, allocations: 2.33 MB / 0.6379 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4966, allocations: 0 / 0.6379 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004229/0.5009, allocations: 1.519 MB / 0.6394 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.5016, allocations: 83.22 kB / 0.6395 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.5046, allocations: 1.715 MB / 0.6411 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.5051, allocations: 1.029 MB / 0.6422 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.5054, allocations: 78.17 kB / 0.6422 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.5056, allocations: 59.42 kB / 0.6423 GB, free: 13.86 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5056, allocations: 0 / 0.6423 GB, free: 13.86 MB / 462.1 MB Notification: Performance of Templates: time 0.03362/0.5392, allocations: 22.39 MB / 0.6642 GB, free: 7.477 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)