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.001657/0.001657, 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.412/1.412, 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.001454/0.001454, allocations: 196.4 kB / 290.4 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5089/0.5089, allocations: 91.9 MB / 432.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 78.69 kB / 0.5734 GB, free: 33.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1419, allocations: 71.28 MB / 0.643 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00736/0.1493, allocations: 6.511 MB / 0.6494 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.1534, allocations: 1.892 MB / 0.6512 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009555/0.1544, allocations: 19.94 kB / 0.6512 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.1552, allocations: 222 kB / 0.6514 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.1576, allocations: 0.713 MB / 0.6521 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1591, allocations: 0.6249 MB / 0.6528 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.1611, allocations: 1.425 MB / 0.6541 GB, free: 8.109 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.1617, allocations: 328.3 kB / 0.6545 GB, free: 7.777 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008862/0.1626, allocations: 0.5912 MB / 0.655 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.1635, allocations: 0.7348 MB / 0.6558 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.1638, allocations: 100 kB / 0.6559 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006136/0.1644, allocations: 235.9 kB / 0.6561 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.1647, allocations: 278.8 kB / 0.6563 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006907/0.1654, allocations: 0.629 MB / 0.657 GB, free: 5.211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.1672, allocations: 1.518 MB / 0.6584 GB, free: 3.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1672, allocations: 0 / 0.6584 GB, free: 3.688 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1672, allocations: 0 / 0.6584 GB, free: 3.688 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.847e-05/0.1673, allocations: 4 kB / 0.6584 GB, free: 3.684 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.008635/0.1759, allocations: 2.56 MB / 0.6609 GB, free: 1.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.176, allocations: 8.031 kB / 0.6609 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005282/0.1813, allocations: 0.7827 MB / 0.6617 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.1828, allocations: 0.7685 MB / 0.6625 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/0.1832, allocations: 264.1 kB / 0.6627 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.1834, allocations: 76 kB / 0.6628 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.186, allocations: 1.089 MB / 0.6639 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.186, allocations: 7.938 kB / 0.6639 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.1861, allocations: 28 kB / 0.6639 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.1862, allocations: 24 kB / 0.6639 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.1888, allocations: 1.117 MB / 0.665 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.006598/0.1954, allocations: 3.479 MB / 0.6684 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.1977, allocations: 1.423 MB / 0.6698 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.1994, allocations: 0.7813 MB / 0.6705 GB, free: 6.852 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1995, allocations: 20.98 kB / 0.6706 GB, free: 6.832 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1995, allocations: 43.56 kB / 0.6706 GB, free: 6.781 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.986e-06/0.1995, allocations: 0 / 0.6706 GB, free: 6.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02801/0.2276, allocations: 6.871 MB / 0.6773 GB, free: 15.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2277, allocations: 64.41 kB / 0.6774 GB, free: 15.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.229, allocations: 0.8884 MB / 0.6782 GB, free: 14.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.2292, allocations: 41.7 kB / 0.6783 GB, free: 14.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/0.2296, allocations: 496.8 kB / 0.6788 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.2301, allocations: 350.9 kB / 0.6791 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004996/0.2306, allocations: 210.8 kB / 0.6793 GB, free: 13.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2308, allocations: 349.9 kB / 0.6796 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.2326, allocations: 0.7287 MB / 0.6803 GB, free: 12.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.2344, allocations: 0.8657 MB / 0.6812 GB, free: 11.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01954/0.254, allocations: 4.846 MB / 0.6859 GB, free: 6.941 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.254, allocations: 0 / 0.6859 GB, free: 6.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01475/0.2688, allocations: 4.281 MB / 0.6901 GB, free: 2.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.2689, allocations: 7.938 kB / 0.6901 GB, free: 2.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2689, allocations: 4 kB / 0.6901 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00641/0.2753, allocations: 1.721 MB / 0.6918 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.2765, allocations: 231.7 kB / 0.692 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/0.299, allocations: 9.071 MB / 0.7009 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.3007, allocations: 178.9 kB / 0.701 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.3009, allocations: 39.98 kB / 0.7011 GB, free: 7.238 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.0006415/0.3015, allocations: 237.9 kB / 0.7013 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.3019, allocations: 126.4 kB / 0.7014 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.3159, allocations: 4.002 MB / 0.7053 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.316, allocations: 8 kB / 0.7053 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.316, allocations: 0 / 0.7053 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/0.316, allocations: 11.97 kB / 0.7054 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.3327, allocations: 5.625 MB / 0.7109 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-05/0.3327, allocations: 4 kB / 0.7109 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.3336, allocations: 127.8 kB / 0.711 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006246/0.3398, allocations: 1.737 MB / 0.7127 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002645/0.3401, allocations: 19.98 kB / 0.7127 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/0.3604, allocations: 8.056 MB / 0.7206 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3604, allocations: 3.938 kB / 0.7206 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/0.3765, allocations: 4.964 MB / 0.7254 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.377, allocations: 203.4 kB / 0.7256 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/0.3774, allocations: 20 kB / 0.7256 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.3786, allocations: 107.9 kB / 0.7257 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007992/0.3795, allocations: 216.7 kB / 0.7259 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.3796, allocations: 27.98 kB / 0.726 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008816/0.3805, allocations: 0.5969 MB / 0.7265 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3805, allocations: 0 / 0.7265 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001487/0.382, allocations: 439.4 kB / 0.727 GB, free: 12.37 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.000327/0.3823, allocations: 127.2 kB / 0.7271 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007292/0.3896, allocations: 2.482 MB / 0.7295 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.3897, allocations: 0 / 0.7295 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005381/0.3951, allocations: 1.601 MB / 0.7311 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.3963, allocations: 88.36 kB / 0.7312 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.4007, allocations: 2.09 MB / 0.7332 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/0.4015, allocations: 1.095 MB / 0.7343 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.4019, allocations: 79.41 kB / 0.7343 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.4019, allocations: 0 / 0.7343 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of Templates: time 0.0302/0.4321, allocations: 20.17 MB / 0.754 GB, free: 0.5195 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)