Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.375/1.375, allocations: 222.9 MB / 240.1 MB, free: 4.324 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.001509/0.001509, allocations: 192.5 kB / 290.4 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5706/0.5706, allocations: 91.9 MB / 432.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 79.09 kB / 0.5734 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 71.27 MB / 0.643 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.008699/0.1448, allocations: 5.82 MB / 0.6487 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004941/0.1498, allocations: 1.771 MB / 0.6504 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009544/0.1508, allocations: 19.94 kB / 0.6504 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.1515, allocations: 198.3 kB / 0.6506 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.1541, allocations: 0.6815 MB / 0.6513 GB, free: 11.03 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.1561, allocations: 0.572 MB / 0.6518 GB, free: 10.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.1584, allocations: 1.257 MB / 0.6531 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006905/0.1591, allocations: 279.1 kB / 0.6533 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.1601, allocations: 0.5251 MB / 0.6538 GB, free: 8.387 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.1613, allocations: 0.6377 MB / 0.6545 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003383/0.1617, allocations: 88 kB / 0.6546 GB, free: 7.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007994/0.1625, allocations: 223.9 kB / 0.6548 GB, free: 7.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003016/0.1628, allocations: 246.8 kB / 0.655 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008166/0.1636, allocations: 0.5437 MB / 0.6555 GB, free: 6.652 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.166, allocations: 1.351 MB / 0.6569 GB, free: 5.297 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.1661, allocations: 0 / 0.6569 GB, free: 5.297 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1661, allocations: 0 / 0.6569 GB, free: 5.297 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.1661, allocations: 4 kB / 0.6569 GB, free: 5.293 MB / 462.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.0114/0.1775, allocations: 2.345 MB / 0.6591 GB, free: 2.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1776, allocations: 8.031 kB / 0.6592 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008155/0.1857, allocations: 0.7518 MB / 0.6599 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.1877, allocations: 0.7282 MB / 0.6606 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004025/0.1881, allocations: 244.2 kB / 0.6608 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.1884, allocations: 72 kB / 0.6609 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/0.1915, allocations: 0.9559 MB / 0.6618 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.1915, allocations: 3.938 kB / 0.6618 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.1917, allocations: 28 kB / 0.6619 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.1917, allocations: 16 kB / 0.6619 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003051/0.1948, allocations: 0.976 MB / 0.6628 GB, free: 15.03 MB / 478.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.008097/0.2029, allocations: 3.19 MB / 0.6659 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.2057, allocations: 1.311 MB / 0.6672 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.2075, allocations: 0.697 MB / 0.6679 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.2076, allocations: 24.97 kB / 0.6679 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2077, allocations: 43.56 kB / 0.668 GB, free: 9.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.2077, allocations: 0 / 0.668 GB, free: 9.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.0279/0.2356, allocations: 6.473 MB / 0.6743 GB, free: 2.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.2357, allocations: 60.41 kB / 0.6744 GB, free: 2.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.237, allocations: 0.7906 MB / 0.6751 GB, free: 2.094 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002282/0.2372, allocations: 49.64 kB / 0.6752 GB, free: 2.039 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.2376, allocations: 440.3 kB / 0.6756 GB, free: 1.602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.2381, allocations: 299.7 kB / 0.6759 GB, free: 1.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004734/0.2386, allocations: 186.8 kB / 0.6761 GB, free: 1.113 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2387, allocations: 341.9 kB / 0.6764 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.2403, allocations: 0.6624 MB / 0.677 GB, free: 116 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.242, allocations: 0.7797 MB / 0.6778 GB, free: 15.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01882/0.2608, allocations: 4.504 MB / 0.6822 GB, free: 10.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.2609, allocations: 4 kB / 0.6822 GB, free: 10.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01436/0.2752, allocations: 4.075 MB / 0.6862 GB, free: 6.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.2753, allocations: 8 kB / 0.6862 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.2753, allocations: 7.938 kB / 0.6862 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.2817, allocations: 1.733 MB / 0.6879 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.2828, allocations: 183.7 kB / 0.6881 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/0.3059, allocations: 9.053 MB / 0.6969 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.3074, allocations: 151.1 kB / 0.697 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.3076, allocations: 47.98 kB / 0.6971 GB, free: 11.34 MB / 0.4981 GB 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.0005638/0.3082, allocations: 229.5 kB / 0.6973 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.3085, allocations: 102.7 kB / 0.6974 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.3218, allocations: 3.813 MB / 0.7011 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.3219, allocations: 11.94 kB / 0.7011 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3219, allocations: 0 / 0.7011 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.3219, allocations: 7.984 kB / 0.7011 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.3378, allocations: 5.337 MB / 0.7064 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.3378, allocations: 0 / 0.7064 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.3384, allocations: 87.88 kB / 0.7064 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006225/0.3447, allocations: 1.741 MB / 0.7081 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.3449, allocations: 16 kB / 0.7082 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/0.3648, allocations: 8.064 MB / 0.716 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3649, allocations: 0 / 0.716 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.3802, allocations: 4.693 MB / 0.7206 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.3807, allocations: 191.6 kB / 0.7208 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.3811, allocations: 15.98 kB / 0.7208 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.3822, allocations: 91.91 kB / 0.7209 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007315/0.383, allocations: 204.6 kB / 0.7211 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.3831, allocations: 20 kB / 0.7211 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008495/0.3839, allocations: 0.5303 MB / 0.7216 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.384, allocations: 0 / 0.7216 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001567/0.3855, allocations: 407.6 kB / 0.722 GB, free: 1.445 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.0003129/0.3859, allocations: 131.1 kB / 0.7221 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007473/0.3933, allocations: 2.305 MB / 0.7244 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.3934, allocations: 4.5 kB / 0.7244 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004898/0.3983, allocations: 1.507 MB / 0.7259 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009316/0.3993, allocations: 80.89 kB / 0.7259 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.4029, allocations: 1.806 MB / 0.7277 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.4036, allocations: 1.041 MB / 0.7287 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.4039, allocations: 63.42 kB / 0.7288 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.404, allocations: 0 / 0.7288 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of Templates: time 0.02626/0.4302, allocations: 17.88 MB / 0.7462 GB, free: 8.52 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)