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.001522/0.001522, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.358/1.358, allocations: 222.9 MB / 238.8 MB, free: 4.727 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.001214/0.001214, allocations: 200.4 kB / 289.1 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5113/0.5113, allocations: 91.9 MB / 431.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 79.88 kB / 0.5012 GB, free: 8.168 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3636, allocations: 71.27 MB / 0.5708 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005571/0.3692, allocations: 6.846 MB / 0.5775 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.3726, allocations: 1.944 MB / 0.5794 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007254/0.3733, allocations: 12.06 kB / 0.5794 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.3739, allocations: 176.5 kB / 0.5796 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.3754, allocations: 0.6329 MB / 0.5802 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.3765, allocations: 0.586 MB / 0.5808 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.3776, allocations: 1.354 MB / 0.5821 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.3779, allocations: 291.1 kB / 0.5824 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.3784, allocations: 0.5494 MB / 0.5829 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.3789, allocations: 0.696 MB / 0.5836 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.3791, allocations: 66.5 kB / 0.5836 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.3795, allocations: 199 kB / 0.5838 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3796, allocations: 242.2 kB / 0.5841 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.38, allocations: 0.5958 MB / 0.5846 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009878/0.381, allocations: 1.463 MB / 0.5861 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.381, allocations: 0 / 0.5861 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.381, allocations: 0 / 0.5861 GB, free: 27.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.381, allocations: 0 / 0.5861 GB, free: 27.84 MB / 430.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.007443/0.3885, allocations: 2.563 MB / 0.5886 GB, free: 26.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3885, allocations: 9.719 kB / 0.5886 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00489/0.3934, allocations: 0.7804 MB / 0.5893 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3945, allocations: 0.7669 MB / 0.5901 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/0.3948, allocations: 257.2 kB / 0.5903 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.395, allocations: 80.31 kB / 0.5904 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.3973, allocations: 1.078 MB / 0.5915 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3974, allocations: 5.312 kB / 0.5915 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.326e-05/0.3975, allocations: 29.81 kB / 0.5915 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.3975, allocations: 18.31 kB / 0.5915 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.3999, allocations: 1.126 MB / 0.5926 GB, free: 24.94 MB / 430.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.005871/0.4058, allocations: 3.505 MB / 0.596 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.4078, allocations: 1.422 MB / 0.5974 GB, free: 22.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.4094, allocations: 0.7875 MB / 0.5982 GB, free: 21.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.4095, allocations: 15.3 kB / 0.5982 GB, free: 21.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.4095, allocations: 49.66 kB / 0.5983 GB, free: 21.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.036e-06/0.4095, allocations: 1.156 kB / 0.5983 GB, free: 21.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02738/0.4369, allocations: 6.875 MB / 0.605 GB, free: 20.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.437, allocations: 62.91 kB / 0.605 GB, free: 20.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.4384, allocations: 0.8899 MB / 0.6059 GB, free: 19.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.4386, allocations: 41.14 kB / 0.6059 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.4389, allocations: 0.4887 MB / 0.6064 GB, free: 19.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.4392, allocations: 349 kB / 0.6067 GB, free: 19.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.4396, allocations: 207.6 kB / 0.6069 GB, free: 19.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.4397, allocations: 347.3 kB / 0.6073 GB, free: 18.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.4413, allocations: 0.7294 MB / 0.608 GB, free: 18.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.4429, allocations: 0.8562 MB / 0.6088 GB, free: 18.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01941/0.4623, allocations: 4.849 MB / 0.6136 GB, free: 16.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.4624, allocations: 1.031 kB / 0.6136 GB, free: 16.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01339/0.4758, allocations: 4.288 MB / 0.6177 GB, free: 14.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4759, allocations: 4 kB / 0.6178 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4759, allocations: 4 kB / 0.6178 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005266/0.4812, allocations: 1.726 MB / 0.6194 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.4825, allocations: 227.7 kB / 0.6197 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.4995, allocations: 8.344 MB / 0.6278 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.5012, allocations: 178.9 kB / 0.628 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.5015, allocations: 39.98 kB / 0.628 GB, free: 3.637 MB / 430.1 MB 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.0005946/0.5021, allocations: 233.7 kB / 0.6282 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.5024, allocations: 118.5 kB / 0.6284 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.514, allocations: 4.022 MB / 0.6323 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.5141, allocations: 8 kB / 0.6323 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5141, allocations: 4 kB / 0.6323 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.5141, allocations: 3.984 kB / 0.6323 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.5299, allocations: 5.622 MB / 0.6378 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.5299, allocations: 11.94 kB / 0.6378 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/0.5308, allocations: 127.8 kB / 0.6379 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005994/0.5368, allocations: 1.737 MB / 0.6396 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/0.5371, allocations: 20 kB / 0.6396 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.555, allocations: 7.34 MB / 0.6468 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.5551, allocations: 0 / 0.6468 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.5707, allocations: 4.966 MB / 0.6516 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.5712, allocations: 207.5 kB / 0.6518 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/0.5716, allocations: 16 kB / 0.6519 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.5729, allocations: 119.8 kB / 0.652 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008742/0.5738, allocations: 208.6 kB / 0.6522 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.5739, allocations: 23.98 kB / 0.6522 GB, free: 10.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009485/0.5749, allocations: 0.5969 MB / 0.6528 GB, free: 9.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5749, allocations: 4 kB / 0.6528 GB, free: 9.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001683/0.5766, allocations: 443.4 kB / 0.6532 GB, free: 9.465 MB / 462.1 MB 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.0003549/0.577, allocations: 139.1 kB / 0.6533 GB, free: 9.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006908/0.5839, allocations: 2.433 MB / 0.6557 GB, free: 6.875 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5839, allocations: 0 / 0.6557 GB, free: 6.875 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005092/0.589, allocations: 1.552 MB / 0.6572 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.5903, allocations: 88.42 kB / 0.6573 GB, free: 5.223 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.5959, allocations: 2.492 MB / 0.6598 GB, free: 2.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.597, allocations: 1.099 MB / 0.6608 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.5975, allocations: 90.77 kB / 0.6609 GB, free: 1.488 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.5978, allocations: 63.41 kB / 0.661 GB, free: 1.426 MB / 462.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5978, allocations: 0 / 0.661 GB, free: 1.426 MB / 462.1 MB Notification: Performance of Templates: time 0.03829/0.6361, allocations: 20.91 MB / 0.6814 GB, free: 12.54 MB / 494.1 MB 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)