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.001325/0.001325, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.417/1.417, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001425/0.001425, allocations: 192.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5201/0.5201, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 77.19 kB / 0.5734 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1339, allocations: 71.29 MB / 0.643 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005958/0.1399, allocations: 5.8 MB / 0.6487 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.1435, allocations: 1.778 MB / 0.6504 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.1441, allocations: 8 kB / 0.6504 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.1446, allocations: 206.2 kB / 0.6506 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.1463, allocations: 0.6934 MB / 0.6513 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1476, allocations: 0.5637 MB / 0.6518 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.1488, allocations: 1.26 MB / 0.6531 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.1493, allocations: 271.1 kB / 0.6533 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006294/0.1499, allocations: 0.529 MB / 0.6538 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006232/0.1505, allocations: 0.6416 MB / 0.6545 GB, free: 7.789 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1507, allocations: 84 kB / 0.6545 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.1511, allocations: 227.8 kB / 0.6548 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.1513, allocations: 250.8 kB / 0.655 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.1517, allocations: 0.532 MB / 0.6555 GB, free: 6.703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.1531, allocations: 1.358 MB / 0.6569 GB, free: 5.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1531, allocations: 4 kB / 0.6569 GB, free: 5.336 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1531, allocations: 0 / 0.6569 GB, free: 5.336 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.1531, allocations: 0 / 0.6569 GB, free: 5.336 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.007281/0.1604, allocations: 2.345 MB / 0.6591 GB, free: 2.938 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1605, allocations: 8.031 kB / 0.6592 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.1653, allocations: 0.7634 MB / 0.6599 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.1667, allocations: 0.7049 MB / 0.6606 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.167, allocations: 256.2 kB / 0.6608 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1671, allocations: 64 kB / 0.6609 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.169, allocations: 0.9599 MB / 0.6618 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1691, allocations: 3.938 kB / 0.6618 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/0.1692, allocations: 27.94 kB / 0.6619 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1692, allocations: 16 kB / 0.6619 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.1712, allocations: 0.98 MB / 0.6628 GB, free: 15.07 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.005478/0.1767, allocations: 3.19 MB / 0.6659 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.1785, allocations: 1.314 MB / 0.6672 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.1798, allocations: 0.7087 MB / 0.6679 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-05/0.1799, allocations: 9 kB / 0.6679 GB, free: 9.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.18, allocations: 47.56 kB / 0.668 GB, free: 9.516 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.275e-06/0.18, allocations: 0 / 0.668 GB, free: 9.516 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02453/0.2045, allocations: 6.473 MB / 0.6743 GB, free: 3.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.2046, allocations: 60.41 kB / 0.6744 GB, free: 2.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2058, allocations: 0.7945 MB / 0.6751 GB, free: 2.133 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001989/0.206, allocations: 41.7 kB / 0.6752 GB, free: 2.086 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.2063, allocations: 436.4 kB / 0.6756 GB, free: 1.652 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/0.2067, allocations: 299.7 kB / 0.6759 GB, free: 1.355 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.2071, allocations: 186.9 kB / 0.6761 GB, free: 1.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2073, allocations: 345.9 kB / 0.6764 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.2086, allocations: 0.6584 MB / 0.677 GB, free: 168 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.2103, allocations: 0.7836 MB / 0.6778 GB, free: 15.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/0.2278, allocations: 4.512 MB / 0.6822 GB, free: 10.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.2279, allocations: 0 / 0.6822 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01266/0.2405, allocations: 4.074 MB / 0.6862 GB, free: 6.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.2406, allocations: 4 kB / 0.6862 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2406, allocations: 4 kB / 0.6862 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005701/0.2463, allocations: 1.741 MB / 0.6879 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009799/0.2473, allocations: 187.7 kB / 0.6881 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/0.2674, allocations: 9.047 MB / 0.6969 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.2687, allocations: 147.1 kB / 0.697 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/0.2688, allocations: 35.98 kB / 0.6971 GB, free: 11.39 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.0004137/0.2693, allocations: 233.5 kB / 0.6973 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.2695, allocations: 102.7 kB / 0.6974 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.2817, allocations: 3.809 MB / 0.7011 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.2817, allocations: 11.94 kB / 0.7011 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2818, allocations: 4 kB / 0.7011 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.2818, allocations: 7.969 kB / 0.7011 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.2958, allocations: 5.345 MB / 0.7064 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.2959, allocations: 4 kB / 0.7064 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.2964, allocations: 91.89 kB / 0.7064 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/0.3021, allocations: 1.734 MB / 0.7081 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.3022, allocations: 19.94 kB / 0.7082 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.3197, allocations: 8.056 MB / 0.716 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3197, allocations: 0 / 0.716 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.3335, allocations: 4.704 MB / 0.7206 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.3339, allocations: 187.6 kB / 0.7208 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.334, allocations: 12 kB / 0.7208 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/0.3349, allocations: 95.89 kB / 0.7209 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006361/0.3356, allocations: 200.7 kB / 0.7211 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.3356, allocations: 20 kB / 0.7211 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000644/0.3363, allocations: 0.5341 MB / 0.7216 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.3363, allocations: 0 / 0.7216 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00117/0.3375, allocations: 407.6 kB / 0.722 GB, free: 1.488 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.000254/0.3377, allocations: 123.1 kB / 0.7221 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005954/0.3437, allocations: 2.316 MB / 0.7244 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3437, allocations: 0 / 0.7244 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004366/0.3481, allocations: 1.511 MB / 0.7259 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.3488, allocations: 75.34 kB / 0.7259 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.352, allocations: 1.81 MB / 0.7277 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.3526, allocations: 1.033 MB / 0.7287 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.3529, allocations: 63.42 kB / 0.7288 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.3529, allocations: 0 / 0.7288 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of Templates: time 0.02353/0.3764, allocations: 17.88 MB / 0.7462 GB, free: 8.566 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)