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.001387/0.001387, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.428/1.428, allocations: 222.9 MB / 240.1 MB, free: 4.332 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.001496/0.001496, allocations: 184.5 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5068/0.5068, allocations: 91.9 MB / 432.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 80.66 kB / 0.5734 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1139, allocations: 71.29 MB / 0.643 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006546/0.1205, allocations: 6.517 MB / 0.6494 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.1241, allocations: 1.896 MB / 0.6512 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007134/0.1248, allocations: 8 kB / 0.6512 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.1253, allocations: 226 kB / 0.6515 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1271, allocations: 0.7237 MB / 0.6522 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1284, allocations: 0.6188 MB / 0.6528 GB, free: 9.527 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1298, allocations: 1.429 MB / 0.6542 GB, free: 8.094 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/0.1302, allocations: 328.2 kB / 0.6545 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.1309, allocations: 0.5951 MB / 0.6551 GB, free: 7.164 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007166/0.1316, allocations: 0.731 MB / 0.6558 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.1318, allocations: 104 kB / 0.6559 GB, free: 6.328 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.1322, allocations: 231.9 kB / 0.6561 GB, free: 6.102 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.1324, allocations: 274.8 kB / 0.6563 GB, free: 5.832 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.1329, allocations: 0.6329 MB / 0.657 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.1344, allocations: 1.522 MB / 0.6585 GB, free: 3.668 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1344, allocations: 0 / 0.6585 GB, free: 3.668 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1344, allocations: 0 / 0.6585 GB, free: 3.668 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.1344, allocations: 0 / 0.6585 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.007567/0.142, allocations: 2.556 MB / 0.6609 GB, free: 1.059 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.142, allocations: 12.03 kB / 0.661 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004783/0.1468, allocations: 0.7788 MB / 0.6617 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1481, allocations: 0.7763 MB / 0.6625 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.1484, allocations: 256.1 kB / 0.6627 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.1485, allocations: 83.98 kB / 0.6628 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.1507, allocations: 1.077 MB / 0.6639 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1507, allocations: 3.938 kB / 0.6639 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-05/0.1508, allocations: 32 kB / 0.6639 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.1509, allocations: 16 kB / 0.6639 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.1533, allocations: 1.124 MB / 0.665 GB, free: 12.8 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.005889/0.1592, allocations: 3.479 MB / 0.6684 GB, free: 9.172 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.1613, allocations: 1.427 MB / 0.6698 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.1628, allocations: 0.7813 MB / 0.6706 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.682e-05/0.1629, allocations: 20.92 kB / 0.6706 GB, free: 6.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.163, allocations: 43.56 kB / 0.6706 GB, free: 6.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.556e-06/0.163, allocations: 0 / 0.6706 GB, free: 6.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.0256/0.1886, allocations: 6.875 MB / 0.6773 GB, free: 15.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1887, allocations: 60.41 kB / 0.6774 GB, free: 15.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.1899, allocations: 0.8884 MB / 0.6783 GB, free: 14.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.1901, allocations: 45.7 kB / 0.6783 GB, free: 14.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.1905, allocations: 496.8 kB / 0.6788 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.191, allocations: 358.9 kB / 0.6791 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/0.1914, allocations: 206.8 kB / 0.6793 GB, free: 13.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1915, allocations: 349.9 kB / 0.6796 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.1931, allocations: 0.7287 MB / 0.6804 GB, free: 12.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.1947, allocations: 0.8618 MB / 0.6812 GB, free: 11.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/0.2128, allocations: 4.842 MB / 0.6859 GB, free: 6.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.2128, allocations: 4 kB / 0.6859 GB, free: 6.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01297/0.2258, allocations: 4.277 MB / 0.6901 GB, free: 2.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.2259, allocations: 8 kB / 0.6901 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2259, allocations: 0 / 0.6901 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005621/0.2315, allocations: 1.73 MB / 0.6918 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.2327, allocations: 227.7 kB / 0.692 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/0.2524, allocations: 9.064 MB / 0.7009 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.2539, allocations: 178.9 kB / 0.701 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.254, allocations: 43.97 kB / 0.7011 GB, free: 7.227 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.0004657/0.2545, allocations: 237.9 kB / 0.7013 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.2547, allocations: 126.4 kB / 0.7014 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.2671, allocations: 4.006 MB / 0.7053 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.2672, allocations: 12 kB / 0.7054 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2672, allocations: 0 / 0.7054 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.2672, allocations: 7.922 kB / 0.7054 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.2816, allocations: 5.625 MB / 0.7109 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.2817, allocations: 0 / 0.7109 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.2824, allocations: 131.8 kB / 0.711 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005602/0.2881, allocations: 1.737 MB / 0.7127 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.2883, allocations: 20 kB / 0.7127 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.3059, allocations: 8.056 MB / 0.7206 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3059, allocations: 7.984 kB / 0.7206 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/0.3204, allocations: 4.96 MB / 0.7254 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.3208, allocations: 199.4 kB / 0.7256 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.321, allocations: 20 kB / 0.7256 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.322, allocations: 111.9 kB / 0.7257 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006923/0.3227, allocations: 212.7 kB / 0.7259 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.3227, allocations: 28 kB / 0.726 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007274/0.3235, allocations: 0.6008 MB / 0.7266 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3235, allocations: 0 / 0.7266 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001218/0.3247, allocations: 439.4 kB / 0.727 GB, free: 12.35 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.0002781/0.325, allocations: 123.2 kB / 0.7271 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00633/0.3313, allocations: 2.474 MB / 0.7295 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3314, allocations: 0 / 0.7295 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004587/0.336, allocations: 1.601 MB / 0.7311 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.3368, allocations: 93.61 kB / 0.7312 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.3406, allocations: 2.082 MB / 0.7332 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.3412, allocations: 1.099 MB / 0.7343 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.3416, allocations: 75.42 kB / 0.7343 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of SimCode: time 2.013e-06/0.3416, allocations: 0 / 0.7343 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of Templates: time 0.02628/0.3679, allocations: 20.17 MB / 0.754 GB, free: 0.5156 MB / 0.545 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)