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.0825/0.0825, allocations: 12.6 MB / 28.9 MB, free: 0.6328 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.001211/0.00121, allocations: 107.5 kB / 32.5 MB, free: 3.57 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.345/1.345, allocations: 205.1 MB / 241.1 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.001351/0.001351, allocations: 195.5 kB / 291.4 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.4255/0.4255, allocations: 78.51 MB / 420 MB, free: 11.25 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.002562/0.002562, allocations: 142.7 kB / 0.5565 GB, free: 28.6 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1212, allocations: 68.13 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006173/0.1274, allocations: 5.838 MB / 0.6288 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.1308, allocations: 1.709 MB / 0.6304 GB, free: 7.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006475/0.1315, allocations: 11.94 kB / 0.6304 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.132, allocations: 206.3 kB / 0.6306 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.1336, allocations: 0.6918 MB / 0.6313 GB, free: 6.941 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.001194/0.1348, allocations: 0.5646 MB / 0.6319 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1362, allocations: 1.257 MB / 0.6331 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.1367, allocations: 271.2 kB / 0.6334 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.1373, allocations: 0.5173 MB / 0.6339 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006639/0.138, allocations: 0.6416 MB / 0.6345 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.1381, allocations: 88 kB / 0.6346 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.1386, allocations: 231.8 kB / 0.6348 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.1388, allocations: 239 kB / 0.635 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.1392, allocations: 0.5475 MB / 0.6355 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1405, allocations: 1.355 MB / 0.6369 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1405, allocations: 4 kB / 0.6369 GB, free: 1.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1405, allocations: 4 kB / 0.6369 GB, free: 1.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.1406, allocations: 0 / 0.6369 GB, free: 1.215 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.007465/0.148, allocations: 2.349 MB / 0.6392 GB, free: 14.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1481, allocations: 15.98 kB / 0.6392 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/0.1531, allocations: 0.7556 MB / 0.6399 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.1544, allocations: 0.7049 MB / 0.6406 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.1547, allocations: 256.1 kB / 0.6409 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.1549, allocations: 68 kB / 0.6409 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.1569, allocations: 0.956 MB / 0.6419 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.157, allocations: 7.922 kB / 0.6419 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-05/0.157, allocations: 28 kB / 0.6419 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.1571, allocations: 16 kB / 0.6419 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.1591, allocations: 0.9798 MB / 0.6429 GB, free: 10.94 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.005343/0.1645, allocations: 3.159 MB / 0.6459 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.1666, allocations: 1.317 MB / 0.6472 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.168, allocations: 0.7087 MB / 0.6479 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.871e-05/0.1681, allocations: 12.98 kB / 0.6479 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1682, allocations: 43.56 kB / 0.648 GB, free: 5.418 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 3.386e-06/0.1682, allocations: 0 / 0.648 GB, free: 5.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02578/0.194, allocations: 6.477 MB / 0.6543 GB, free: 14.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.194, allocations: 64.41 kB / 0.6544 GB, free: 14.83 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.1952, allocations: 0.7906 MB / 0.6551 GB, free: 14.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.1954, allocations: 41.7 kB / 0.6552 GB, free: 13.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.1958, allocations: 432.4 kB / 0.6556 GB, free: 13.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/0.1963, allocations: 299.7 kB / 0.6559 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004993/0.1968, allocations: 186.9 kB / 0.6561 GB, free: 13.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1969, allocations: 341.9 kB / 0.6564 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.1985, allocations: 0.6663 MB / 0.657 GB, free: 12.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.2001, allocations: 0.7834 MB / 0.6578 GB, free: 11.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/0.2185, allocations: 4.516 MB / 0.6622 GB, free: 6.699 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.2186, allocations: 0 / 0.6622 GB, free: 6.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01393/0.2325, allocations: 4.082 MB / 0.6662 GB, free: 2.602 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.2326, allocations: 8 kB / 0.6662 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.2326, allocations: 0 / 0.6662 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00631/0.2389, allocations: 1.738 MB / 0.6679 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.24, allocations: 179.8 kB / 0.6681 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/0.2623, allocations: 9.048 MB / 0.6769 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.2639, allocations: 155 kB / 0.6771 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.2642, allocations: 39.98 kB / 0.6771 GB, free: 7.273 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.000619/0.2648, allocations: 233.5 kB / 0.6773 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.2651, allocations: 98.78 kB / 0.6774 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/0.2782, allocations: 3.813 MB / 0.6811 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.2783, allocations: 19.94 kB / 0.6812 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2783, allocations: 0 / 0.6812 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.2783, allocations: 3.984 kB / 0.6812 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.294, allocations: 5.376 MB / 0.6864 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.2941, allocations: 0 / 0.6864 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.2947, allocations: 91.83 kB / 0.6865 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006251/0.301, allocations: 1.741 MB / 0.6882 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.3012, allocations: 16 kB / 0.6882 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/0.321, allocations: 8.041 MB / 0.6961 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.321, allocations: 7.875 kB / 0.6961 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.3363, allocations: 4.732 MB / 0.7007 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.3367, allocations: 187.6 kB / 0.7009 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.337, allocations: 23.92 kB / 0.7009 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.3381, allocations: 87.91 kB / 0.701 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007216/0.3389, allocations: 212.5 kB / 0.7012 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.339, allocations: 16 kB / 0.7012 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008098/0.3398, allocations: 0.5342 MB / 0.7017 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3398, allocations: 0 / 0.7017 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001448/0.3413, allocations: 407.5 kB / 0.7021 GB, free: 13.3 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.000323/0.3416, allocations: 127.2 kB / 0.7022 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006868/0.3485, allocations: 2.313 MB / 0.7045 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.3485, allocations: 4.125 kB / 0.7045 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004968/0.3535, allocations: 1.507 MB / 0.706 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008995/0.3544, allocations: 79.33 kB / 0.706 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.3582, allocations: 1.807 MB / 0.7078 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.3589, allocations: 1.041 MB / 0.7088 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.3592, allocations: 63.42 kB / 0.7089 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.3593, allocations: 0 / 0.7089 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of Templates: time 0.2887/0.6479, allocations: 17.88 MB / 0.7263 GB, free: 82.69 MB / 0.5137 GB 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)