Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008619/0.008619, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.457/1.457, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001276/0.001276, allocations: 192.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5347/0.5347, allocations: 91.89 MB / 431.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 80.47 kB / 0.5727 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 71.28 MB / 0.6423 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006888/0.1364, allocations: 6.499 MB / 0.6487 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00344/0.1399, allocations: 1.9 MB / 0.6505 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.1404, allocations: 16 kB / 0.6506 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.1408, allocations: 222 kB / 0.6508 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.1424, allocations: 0.7726 MB / 0.6515 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1437, allocations: 0.614 MB / 0.6521 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.145, allocations: 1.429 MB / 0.6535 GB, free: 8.105 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.1454, allocations: 332.2 kB / 0.6538 GB, free: 7.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.1461, allocations: 0.5912 MB / 0.6544 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007184/0.1468, allocations: 0.731 MB / 0.6551 GB, free: 6.441 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.147, allocations: 100 kB / 0.6552 GB, free: 6.344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.1474, allocations: 239.9 kB / 0.6555 GB, free: 6.109 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.1476, allocations: 270.8 kB / 0.6557 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005047/0.1481, allocations: 0.6369 MB / 0.6563 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.1495, allocations: 1.522 MB / 0.6578 GB, free: 3.676 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1495, allocations: 0 / 0.6578 GB, free: 3.676 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.1496, allocations: 4 kB / 0.6578 GB, free: 3.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1496, allocations: 3.938 kB / 0.6578 GB, free: 3.668 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007887/0.1575, allocations: 2.552 MB / 0.6603 GB, free: 1.062 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1575, allocations: 8.031 kB / 0.6603 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.1626, allocations: 0.7788 MB / 0.6611 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.1638, allocations: 0.7763 MB / 0.6618 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.1642, allocations: 260.1 kB / 0.6621 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.1643, allocations: 84 kB / 0.6622 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.1668, allocations: 1.077 MB / 0.6632 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1668, allocations: 3.938 kB / 0.6632 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/0.1669, allocations: 28 kB / 0.6633 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.1669, allocations: 24 kB / 0.6633 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.1695, allocations: 1.117 MB / 0.6644 GB, free: 12.81 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.006465/0.1759, allocations: 3.487 MB / 0.6678 GB, free: 9.172 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.1783, allocations: 1.427 MB / 0.6692 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.1801, allocations: 0.7774 MB / 0.6699 GB, free: 6.844 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.1802, allocations: 20.98 kB / 0.67 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1802, allocations: 43.56 kB / 0.67 GB, free: 6.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.016e-06/0.1802, allocations: 0 / 0.67 GB, free: 6.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02818/0.2084, allocations: 6.875 MB / 0.6767 GB, free: 15.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2085, allocations: 64.41 kB / 0.6768 GB, free: 15.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.2097, allocations: 0.8884 MB / 0.6776 GB, free: 14.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.2099, allocations: 45.7 kB / 0.6777 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.2102, allocations: 492.8 kB / 0.6781 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.2106, allocations: 354.9 kB / 0.6785 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003878/0.211, allocations: 202.8 kB / 0.6787 GB, free: 13.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2111, allocations: 353.9 kB / 0.679 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.2128, allocations: 0.7287 MB / 0.6797 GB, free: 12.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.2146, allocations: 0.8657 MB / 0.6806 GB, free: 11.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01958/0.2342, allocations: 4.842 MB / 0.6853 GB, free: 6.934 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.2343, allocations: 0 / 0.6853 GB, free: 6.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0149/0.2492, allocations: 4.277 MB / 0.6895 GB, free: 2.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.2493, allocations: 8 kB / 0.6895 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.2493, allocations: 4 kB / 0.6895 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006455/0.2557, allocations: 1.721 MB / 0.6912 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.2572, allocations: 239.6 kB / 0.6914 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/0.2804, allocations: 9.056 MB / 0.7002 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.2822, allocations: 178.9 kB / 0.7004 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/0.2824, allocations: 39.98 kB / 0.7005 GB, free: 7.242 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 (117): * Single equations (assignments): 116 * 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.0006654/0.2831, allocations: 237.9 kB / 0.7007 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.2834, allocations: 130.4 kB / 0.7008 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/0.2977, allocations: 4.006 MB / 0.7047 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.2978, allocations: 8 kB / 0.7047 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2978, allocations: 7.938 kB / 0.7047 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.584e-05/0.2978, allocations: 3.984 kB / 0.7047 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.3151, allocations: 5.618 MB / 0.7102 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.3151, allocations: 3.984 kB / 0.7102 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.316, allocations: 131.8 kB / 0.7104 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006354/0.3224, allocations: 1.734 MB / 0.712 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.3226, allocations: 20 kB / 0.7121 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/0.343, allocations: 8.067 MB / 0.7199 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.343, allocations: 0 / 0.7199 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01655/0.3596, allocations: 4.964 MB / 0.7248 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.3601, allocations: 207.4 kB / 0.725 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.3604, allocations: 16 kB / 0.725 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.3616, allocations: 103.9 kB / 0.7251 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007917/0.3624, allocations: 224.6 kB / 0.7253 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.3626, allocations: 24 kB / 0.7253 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009015/0.3635, allocations: 0.6008 MB / 0.7259 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3635, allocations: 0 / 0.7259 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001627/0.3651, allocations: 439.4 kB / 0.7263 GB, free: 12.36 MB / 0.5294 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 (65): * Single equations (assignments): 64 * 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.0003714/0.3655, allocations: 127.1 kB / 0.7265 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007279/0.3728, allocations: 2.478 MB / 0.7289 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3728, allocations: 0 / 0.7289 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005191/0.378, allocations: 1.601 MB / 0.7304 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.379, allocations: 89.55 kB / 0.7305 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.3831, allocations: 2.05 MB / 0.7325 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/0.3838, allocations: 1.099 MB / 0.7336 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004016/0.3842, allocations: 86.77 kB / 0.7337 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.3845, allocations: 75.41 kB / 0.7338 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.3845, allocations: 0 / 0.7338 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of Templates: time 0.03756/0.4221, allocations: 23.6 MB / 0.7568 GB, free: 13.04 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)