Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08125/0.08125, allocations: 12.2 MB / 27.18 MB, free: 1.504 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006986/0.0006986, allocations: 105.8 kB / 30.69 MB, free: 4.859 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.4 MB / 239.5 MB, free: 11.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 176.5 kB / 290.6 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4641/0.4641, allocations: 78.54 MB / 420.1 MB, free: 48.69 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000877/0.000877, allocations: 31.98 kB / 0.4895 GB, free: 2.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3543, allocations: 69.22 MB / 0.5571 GB, free: 43.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005497/0.3599, allocations: 6 MB / 0.5629 GB, free: 41.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004127/0.364, allocations: 1.78 MB / 0.5646 GB, free: 40.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.3654, allocations: 16.75 kB / 0.5647 GB, free: 40 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.366, allocations: 152.9 kB / 0.5648 GB, free: 39.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.3685, allocations: 0.6017 MB / 0.5654 GB, free: 39.54 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001692/0.3702, allocations: 0.517 MB / 0.5659 GB, free: 39.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002682/0.3729, allocations: 1.295 MB / 0.5672 GB, free: 38.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.3736, allocations: 268.6 kB / 0.5674 GB, free: 38.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.3747, allocations: 0.5089 MB / 0.5679 GB, free: 38.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008224/0.3755, allocations: 0.6345 MB / 0.5685 GB, free: 37.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.3757, allocations: 51.72 kB / 0.5686 GB, free: 37.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.3763, allocations: 179.4 kB / 0.5688 GB, free: 37.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.3764, allocations: 215.8 kB / 0.569 GB, free: 37.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.3767, allocations: 221.2 kB / 0.5692 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3778, allocations: 1.098 MB / 0.5703 GB, free: 37.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.3779, allocations: 4 kB / 0.5703 GB, free: 37.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3779, allocations: 0 / 0.5703 GB, free: 37.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.252e-05/0.3779, allocations: 0 / 0.5703 GB, free: 37.32 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.007314/0.3852, allocations: 2.409 MB / 0.5726 GB, free: 36.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3853, allocations: 12.58 kB / 0.5726 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.3902, allocations: 0.7803 MB / 0.5734 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.3915, allocations: 0.7284 MB / 0.5741 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.3918, allocations: 279.1 kB / 0.5744 GB, free: 35.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.3919, allocations: 73.28 kB / 0.5744 GB, free: 35.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.3941, allocations: 1.167 MB / 0.5756 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3941, allocations: 0 / 0.5756 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.3942, allocations: 36.62 kB / 0.5756 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.3942, allocations: 18.86 kB / 0.5756 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.3966, allocations: 1.237 MB / 0.5768 GB, free: 34.58 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.005052/0.4017, allocations: 3.528 MB / 0.5803 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.4035, allocations: 1.517 MB / 0.5818 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4049, allocations: 0.8752 MB / 0.5826 GB, free: 31.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.405, allocations: 20.69 kB / 0.5826 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4051, allocations: 45.98 kB / 0.5827 GB, free: 31.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.577e-06/0.4051, allocations: 0 / 0.5827 GB, free: 31.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.0229/0.428, allocations: 8.178 MB / 0.5907 GB, free: 29.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.4281, allocations: 62.66 kB / 0.5907 GB, free: 29.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.4296, allocations: 0.8781 MB / 0.5916 GB, free: 29.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000241/0.4299, allocations: 45.23 kB / 0.5916 GB, free: 29.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.4302, allocations: 499.2 kB / 0.5921 GB, free: 28.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.4306, allocations: 350.1 kB / 0.5924 GB, free: 28.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.4307, allocations: 25.44 kB / 0.5925 GB, free: 28.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.4308, allocations: 359.8 kB / 0.5928 GB, free: 28.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.4324, allocations: 0.8175 MB / 0.5936 GB, free: 28.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.4342, allocations: 0.9527 MB / 0.5945 GB, free: 27.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.436, allocations: 0.8706 MB / 0.5954 GB, free: 27.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.436, allocations: 1.375 kB / 0.5954 GB, free: 27.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01451/0.4505, allocations: 5.242 MB / 0.6005 GB, free: 26.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4506, allocations: 6.094 kB / 0.6005 GB, free: 26.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4506, allocations: 2.344 kB / 0.6005 GB, free: 26.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006655/0.4573, allocations: 2.094 MB / 0.6025 GB, free: 25.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.4585, allocations: 234 kB / 0.6028 GB, free: 25.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/0.4778, allocations: 9.526 MB / 0.6121 GB, free: 19.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4793, allocations: 226.9 kB / 0.6123 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.4794, allocations: 39.98 kB / 0.6123 GB, free: 19.27 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 (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.0004407/0.4799, allocations: 248 kB / 0.6126 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.4801, allocations: 126.4 kB / 0.6127 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.4916, allocations: 4.952 MB / 0.6175 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.4917, allocations: 12 kB / 0.6175 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4917, allocations: 0 / 0.6175 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.4917, allocations: 11.97 kB / 0.6175 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.5047, allocations: 6.542 MB / 0.6239 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.5048, allocations: 0 / 0.6239 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.5055, allocations: 147.8 kB / 0.6241 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005162/0.5107, allocations: 2.05 MB / 0.6261 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.5109, allocations: 20 kB / 0.6261 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/0.5263, allocations: 8.187 MB / 0.6341 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5263, allocations: 4 kB / 0.6341 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.5412, allocations: 5.989 MB / 0.6399 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.5418, allocations: 207.4 kB / 0.6401 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.5419, allocations: 16 kB / 0.6402 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/0.5429, allocations: 159.9 kB / 0.6403 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006716/0.5436, allocations: 212.6 kB / 0.6405 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.5437, allocations: 27.98 kB / 0.6405 GB, free: 6.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000754/0.5444, allocations: 0.5852 MB / 0.6411 GB, free: 5.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5445, allocations: 4 kB / 0.6411 GB, free: 5.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001335/0.5458, allocations: 443.5 kB / 0.6415 GB, free: 4.996 MB / 446.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 (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.0002567/0.5461, allocations: 127.1 kB / 0.6417 GB, free: 4.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006791/0.5529, allocations: 2.785 MB / 0.6444 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5529, allocations: 0 / 0.6444 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004751/0.5577, allocations: 1.799 MB / 0.6461 GB, free: 264 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5587, allocations: 94.34 kB / 0.6462 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.5627, allocations: 2.424 MB / 0.6486 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.5634, allocations: 1.099 MB / 0.6497 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000434/0.5638, allocations: 90.77 kB / 0.6498 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.5641, allocations: 63.42 kB / 0.6498 GB, free: 12.43 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5641, allocations: 0 / 0.6498 GB, free: 12.43 MB / 462.1 MB Notification: Performance of Templates: time 0.03209/0.5962, allocations: 20.02 MB / 0.6694 GB, free: 8.43 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: