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.0007698/0.0007699, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.294/1.294, allocations: 223.3 MB / 239 MB, free: 5.613 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.0009627/0.0009626, allocations: 184.5 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4722/0.4722, allocations: 91.92 MB / 433.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 16 kB / 0.5042 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 72.46 MB / 0.5749 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004239/0.3185, allocations: 5.362 MB / 0.5802 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.3212, allocations: 1.711 MB / 0.5818 GB, free: 32.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.3218, allocations: 13.25 kB / 0.5819 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.3222, allocations: 141.5 kB / 0.582 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.3237, allocations: 0.5649 MB / 0.5825 GB, free: 31.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3247, allocations: 0.4976 MB / 0.583 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.3258, allocations: 1.132 MB / 0.5841 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.3261, allocations: 217.4 kB / 0.5843 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.3266, allocations: 468.4 kB / 0.5848 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/0.3271, allocations: 0.5608 MB / 0.5853 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.3272, allocations: 47.16 kB / 0.5854 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.3276, allocations: 175.4 kB / 0.5855 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3277, allocations: 188.6 kB / 0.5857 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.3279, allocations: 200.5 kB / 0.5859 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007391/0.3286, allocations: 1.001 MB / 0.5869 GB, free: 29.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3286, allocations: 2.812 kB / 0.5869 GB, free: 29.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3287, allocations: 0 / 0.5869 GB, free: 29.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.3287, allocations: 0 / 0.5869 GB, free: 29.71 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006339/0.335, allocations: 2.193 MB / 0.589 GB, free: 28.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3351, allocations: 8.781 kB / 0.589 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.3399, allocations: 0.7749 MB / 0.5898 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.341, allocations: 0.6638 MB / 0.5905 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.3412, allocations: 259.6 kB / 0.5907 GB, free: 27.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3413, allocations: 72.53 kB / 0.5908 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.3432, allocations: 1.031 MB / 0.5918 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3432, allocations: 1.281 kB / 0.5918 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.3433, allocations: 29.5 kB / 0.5918 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3433, allocations: 19.17 kB / 0.5918 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.3453, allocations: 1.061 MB / 0.5929 GB, free: 27.2 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.004979/0.3503, allocations: 3.272 MB / 0.5961 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.3521, allocations: 1.374 MB / 0.5974 GB, free: 24.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.3534, allocations: 0.779 MB / 0.5982 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3536, allocations: 14.94 kB / 0.5982 GB, free: 24.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3536, allocations: 42.56 kB / 0.5982 GB, free: 24.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.717e-06/0.3536, allocations: 1.094 kB / 0.5982 GB, free: 24.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02469/0.3783, allocations: 8.01 MB / 0.606 GB, free: 22.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3784, allocations: 63 kB / 0.6061 GB, free: 22.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.3796, allocations: 0.7823 MB / 0.6069 GB, free: 22.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/0.3798, allocations: 40.33 kB / 0.6069 GB, free: 22.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.3801, allocations: 434.1 kB / 0.6073 GB, free: 21.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.3805, allocations: 299.7 kB / 0.6076 GB, free: 21.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3806, allocations: 24.16 kB / 0.6076 GB, free: 21.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.3807, allocations: 350.9 kB / 0.608 GB, free: 21.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.3822, allocations: 0.7299 MB / 0.6087 GB, free: 21.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.3838, allocations: 0.8541 MB / 0.6095 GB, free: 20.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.3854, allocations: 0.777 MB / 0.6103 GB, free: 20.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.3854, allocations: 0 / 0.6103 GB, free: 20.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01418/0.3996, allocations: 5.041 MB / 0.6152 GB, free: 19.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.3996, allocations: 6.344 kB / 0.6152 GB, free: 19.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.3997, allocations: 6.844 kB / 0.6152 GB, free: 19.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006141/0.4058, allocations: 2.087 MB / 0.6172 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/0.4067, allocations: 183.7 kB / 0.6174 GB, free: 17.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.4246, allocations: 9.523 MB / 0.6267 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.4259, allocations: 199 kB / 0.6269 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.4261, allocations: 39.92 kB / 0.6269 GB, free: 8.016 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004663/0.4266, allocations: 223.9 kB / 0.6272 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.4268, allocations: 102.7 kB / 0.6272 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.4379, allocations: 4.731 MB / 0.6319 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.438, allocations: 8 kB / 0.6319 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.438, allocations: 0 / 0.6319 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.438, allocations: 7.984 kB / 0.6319 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.4518, allocations: 6.239 MB / 0.638 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.4518, allocations: 7.938 kB / 0.638 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.4524, allocations: 95.89 kB / 0.6381 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005797/0.4582, allocations: 2.046 MB / 0.6401 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.4584, allocations: 19.98 kB / 0.6401 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.4755, allocations: 8.195 MB / 0.6481 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4755, allocations: 0 / 0.6481 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/0.4899, allocations: 5.665 MB / 0.6536 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.4903, allocations: 195.7 kB / 0.6538 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.4905, allocations: 19.95 kB / 0.6538 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/0.4915, allocations: 135.9 kB / 0.654 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006198/0.4922, allocations: 196.6 kB / 0.6542 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.724e-05/0.4923, allocations: 20 kB / 0.6542 GB, free: 11.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006987/0.493, allocations: 0.5224 MB / 0.6547 GB, free: 11.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.493, allocations: 0 / 0.6547 GB, free: 11.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001363/0.4944, allocations: 419.5 kB / 0.6551 GB, free: 10.84 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/0.4946, allocations: 119.2 kB / 0.6552 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006144/0.5008, allocations: 2.583 MB / 0.6577 GB, free: 8.117 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5008, allocations: 4.125 kB / 0.6577 GB, free: 8.113 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004251/0.5051, allocations: 1.689 MB / 0.6594 GB, free: 6.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.506, allocations: 79.33 kB / 0.6594 GB, free: 6.328 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.5091, allocations: 2.101 MB / 0.6615 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.5096, allocations: 1.041 MB / 0.6625 GB, free: 3.141 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.51, allocations: 78.31 kB / 0.6626 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.5101, allocations: 55.42 kB / 0.6626 GB, free: 3.008 MB / 462.1 MB Notification: Performance of SimCode: time 5e-07/0.5101, allocations: 0 / 0.6626 GB, free: 3.008 MB / 462.1 MB Notification: Performance of Templates: time 0.0274/0.5375, allocations: 19.08 MB / 0.6813 GB, free: 15.95 MB / 494.1 MB 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)