Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005164/0.005164, allocations: 171.3 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 239 MB, free: 52 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009029, allocations: 102.5 kB / 290.2 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4975/0.4975, allocations: 78.58 MB / 419.9 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 12 kB / 499.8 MB, free: 7.285 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 69.36 MB / 0.5558 GB, free: 1.859 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005597/0.1493, allocations: 5.654 MB / 0.5613 GB, free: 12.18 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003671/0.153, allocations: 1.854 MB / 0.5631 GB, free: 10.32 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007173/0.1537, allocations: 12 kB / 0.5631 GB, free: 10.3 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.1541, allocations: 158.7 kB / 0.5633 GB, free: 10.15 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.1556, allocations: 0.6602 MB / 0.5639 GB, free: 9.488 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1567, allocations: 0.5134 MB / 0.5644 GB, free: 8.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1578, allocations: 0.9247 MB / 0.5653 GB, free: 8.055 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.1582, allocations: 265.7 kB / 0.5656 GB, free: 7.785 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006028/0.1588, allocations: 0.498 MB / 0.5661 GB, free: 7.285 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006291/0.1595, allocations: 0.6339 MB / 0.5667 GB, free: 6.648 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1596, allocations: 52 kB / 0.5667 GB, free: 6.598 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.16, allocations: 163.9 kB / 0.5669 GB, free: 6.438 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.1601, allocations: 215 kB / 0.5671 GB, free: 6.227 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1603, allocations: 225 kB / 0.5673 GB, free: 6 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009547/0.1613, allocations: 1.048 MB / 0.5683 GB, free: 4.949 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1613, allocations: 0 / 0.5683 GB, free: 4.949 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1613, allocations: 0 / 0.5683 GB, free: 4.949 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.1613, allocations: 0 / 0.5683 GB, free: 4.949 MB / 442.7 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.007821/0.1692, allocations: 2.412 MB / 0.5707 GB, free: 2.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1692, allocations: 12.03 kB / 0.5707 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/0.1744, allocations: 0.7866 MB / 0.5715 GB, free: 1.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.1761, allocations: 0.7266 MB / 0.5722 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/0.1765, allocations: 276.1 kB / 0.5724 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.1767, allocations: 76 kB / 0.5725 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2276/0.4044, allocations: 1.158 MB / 0.5737 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.4044, allocations: 0 / 0.5737 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.606e-05/0.4045, allocations: 30.47 kB / 0.5737 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.4046, allocations: 21.42 kB / 0.5737 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.4072, allocations: 1.239 MB / 0.5749 GB, free: 44.32 MB / 442.7 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.005897/0.4131, allocations: 3.619 MB / 0.5784 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.4153, allocations: 1.524 MB / 0.5799 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.4154, allocations: 16.25 kB / 0.5799 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.4155, allocations: 44.59 kB / 0.58 GB, free: 42.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 3.226e-06/0.4155, allocations: 0.7812 kB / 0.58 GB, free: 42.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.02913/0.4446, allocations: 8.174 MB / 0.588 GB, free: 42.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4447, allocations: 63.3 kB / 0.588 GB, free: 42.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.4459, allocations: 0.8816 MB / 0.5889 GB, free: 41.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.4462, allocations: 45.86 kB / 0.5889 GB, free: 41.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.4466, allocations: 496.8 kB / 0.5894 GB, free: 41.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.4469, allocations: 351.7 kB / 0.5897 GB, free: 41.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-05/0.447, allocations: 23.56 kB / 0.5898 GB, free: 41.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.4471, allocations: 349.8 kB / 0.5901 GB, free: 41.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.4489, allocations: 0.8225 MB / 0.5909 GB, free: 41.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.4509, allocations: 0.9441 MB / 0.5918 GB, free: 41.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.4526, allocations: 0.8721 MB / 0.5927 GB, free: 40.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.4526, allocations: 3.938 kB / 0.5927 GB, free: 40.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01418/0.4668, allocations: 5.249 MB / 0.5978 GB, free: 39.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4669, allocations: 5.969 kB / 0.5978 GB, free: 39.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.4669, allocations: 6.234 kB / 0.5978 GB, free: 39.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006255/0.4732, allocations: 2.093 MB / 0.5999 GB, free: 39.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.4743, allocations: 228.7 kB / 0.6001 GB, free: 39.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02584/0.5002, allocations: 9.968 MB / 0.6098 GB, free: 35.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.5025, allocations: 223.6 kB / 0.61 GB, free: 35.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.5027, allocations: 46.38 kB / 0.6101 GB, free: 35.02 MB / 442.7 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 (115): * Single equations (assignments): 114 * 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.0006622/0.5034, allocations: 237.7 kB / 0.6103 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.5037, allocations: 128 kB / 0.6104 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02187/0.5256, allocations: 4.942 MB / 0.6153 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.5256, allocations: 9.75 kB / 0.6153 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5256, allocations: 2.406 kB / 0.6153 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.5257, allocations: 3.469 kB / 0.6153 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/0.5505, allocations: 6.545 MB / 0.6217 GB, free: 31.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.5506, allocations: 0.75 kB / 0.6217 GB, free: 31.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.5516, allocations: 146.3 kB / 0.6218 GB, free: 31.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009731/0.5613, allocations: 2.048 MB / 0.6238 GB, free: 31.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.5616, allocations: 21.47 kB / 0.6238 GB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02917/0.5908, allocations: 8.649 MB / 0.6323 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5908, allocations: 0 / 0.6323 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02413/0.615, allocations: 5.981 MB / 0.6381 GB, free: 20.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.6155, allocations: 199.4 kB / 0.6383 GB, free: 20.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.6157, allocations: 20 kB / 0.6383 GB, free: 20.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.6174, allocations: 160.8 kB / 0.6385 GB, free: 19.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009222/0.6183, allocations: 220.6 kB / 0.6387 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.6185, allocations: 24.89 kB / 0.6387 GB, free: 19.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009551/0.6195, allocations: 0.5813 MB / 0.6393 GB, free: 19.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6195, allocations: 3.938 kB / 0.6393 GB, free: 19.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001685/0.6212, allocations: 452.9 kB / 0.6397 GB, free: 18.59 MB / 442.7 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 (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.0002825/0.6215, allocations: 126.7 kB / 0.6398 GB, free: 18.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01033/0.6318, allocations: 2.788 MB / 0.6425 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6318, allocations: 0 / 0.6425 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007435/0.6393, allocations: 1.8 MB / 0.6443 GB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.64, allocations: 68.42 kB / 0.6444 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.6447, allocations: 2.455 MB / 0.6468 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.6452, allocations: 1.123 MB / 0.6479 GB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005631/0.6458, allocations: 86.16 kB / 0.6479 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.6461, allocations: 59.42 kB / 0.648 GB, free: 10.07 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6462, allocations: 0 / 0.648 GB, free: 10.07 MB / 442.7 MB Notification: Performance of Templates: time 0.04518/0.6914, allocations: 19.98 MB / 0.6675 GB, free: 6.246 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)