Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.253/1.253, allocations: 222.9 MB / 238.8 MB, free: 4.742 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.001144/0.001144, allocations: 196.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.0.1/package.mo): time 0.4144/0.4144, allocations: 78.52 MB / 417.8 MB, free: 3.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 496.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1243, allocations: 68.18 MB / 0.5517 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2067/0.3311, allocations: 6.811 MB / 0.5583 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.3348, allocations: 1.92 MB / 0.5602 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007983/0.3356, allocations: 17.09 kB / 0.5602 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005577/0.3362, allocations: 169.4 kB / 0.5604 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.3377, allocations: 0.6301 MB / 0.561 GB, free: 35.35 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.3388, allocations: 0.5718 MB / 0.5616 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.3399, allocations: 1.361 MB / 0.5629 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.3403, allocations: 291.5 kB / 0.5632 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.3409, allocations: 0.5442 MB / 0.5637 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005437/0.3414, allocations: 0.6973 MB / 0.5644 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.3416, allocations: 66.25 kB / 0.5645 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.342, allocations: 203.2 kB / 0.5647 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3421, allocations: 240.5 kB / 0.5649 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.3425, allocations: 0.5953 MB / 0.5655 GB, free: 34.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009834/0.3435, allocations: 1.456 MB / 0.5669 GB, free: 34.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3435, allocations: 0 / 0.5669 GB, free: 34.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3435, allocations: 1.594 kB / 0.5669 GB, free: 34.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.3436, allocations: 0 / 0.5669 GB, free: 34.16 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.007157/0.3507, allocations: 2.565 MB / 0.5694 GB, free: 33.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3508, allocations: 9.062 kB / 0.5694 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.3554, allocations: 0.7795 MB / 0.5702 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.3567, allocations: 0.7686 MB / 0.5709 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.357, allocations: 255.7 kB / 0.5712 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.3571, allocations: 87.25 kB / 0.5712 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.3592, allocations: 1.085 MB / 0.5723 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3592, allocations: 3.938 kB / 0.5723 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/0.3593, allocations: 28.69 kB / 0.5723 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3593, allocations: 20.81 kB / 0.5723 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.3615, allocations: 1.125 MB / 0.5734 GB, free: 32.48 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.005071/0.3666, allocations: 3.464 MB / 0.5768 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.3684, allocations: 1.431 MB / 0.5782 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.3697, allocations: 0.7903 MB / 0.579 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.3698, allocations: 18.94 kB / 0.579 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3698, allocations: 43.28 kB / 0.5791 GB, free: 30.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.705e-06/0.3699, allocations: 0 / 0.5791 GB, free: 30.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02434/0.3942, allocations: 6.611 MB / 0.5855 GB, free: 29.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3943, allocations: 61.22 kB / 0.5856 GB, free: 28.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.3954, allocations: 0.8891 MB / 0.5864 GB, free: 28.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.3956, allocations: 43.45 kB / 0.5865 GB, free: 28.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.3959, allocations: 496.5 kB / 0.587 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.3962, allocations: 349.2 kB / 0.5873 GB, free: 27.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/0.3966, allocations: 203.2 kB / 0.5875 GB, free: 27.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.3966, allocations: 353.9 kB / 0.5878 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.3982, allocations: 0.729 MB / 0.5885 GB, free: 27.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.4, allocations: 0.862 MB / 0.5894 GB, free: 26.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/0.4187, allocations: 4.859 MB / 0.5941 GB, free: 25.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.4188, allocations: 3.656 kB / 0.5941 GB, free: 25.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01299/0.4317, allocations: 4.279 MB / 0.5983 GB, free: 24.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4318, allocations: 6.469 kB / 0.5983 GB, free: 24.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.4318, allocations: 1.344 kB / 0.5983 GB, free: 24.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005837/0.4377, allocations: 1.729 MB / 0.6 GB, free: 24.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.4389, allocations: 226.9 kB / 0.6002 GB, free: 24.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/0.4577, allocations: 8.339 MB / 0.6084 GB, free: 19.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.4592, allocations: 183.4 kB / 0.6085 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.4594, allocations: 39.45 kB / 0.6086 GB, free: 19.84 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.0004986/0.4599, allocations: 237.3 kB / 0.6088 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.4602, allocations: 122.6 kB / 0.6089 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.4717, allocations: 4.015 MB / 0.6128 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.4718, allocations: 8.797 kB / 0.6128 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4718, allocations: 0 / 0.6128 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.4718, allocations: 9.844 kB / 0.6129 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.4849, allocations: 5.607 MB / 0.6183 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.485, allocations: 3.938 kB / 0.6183 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.4857, allocations: 135.8 kB / 0.6185 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005059/0.4908, allocations: 1.741 MB / 0.6202 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.491, allocations: 16 kB / 0.6202 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/0.5054, allocations: 7.337 MB / 0.6273 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.5054, allocations: 0 / 0.6273 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.5192, allocations: 4.954 MB / 0.6322 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.5196, allocations: 203.4 kB / 0.6324 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.5199, allocations: 20.98 kB / 0.6324 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.521, allocations: 111.8 kB / 0.6325 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007105/0.5218, allocations: 212.6 kB / 0.6327 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.5219, allocations: 24 kB / 0.6327 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007964/0.5227, allocations: 0.5969 MB / 0.6333 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5227, allocations: 4 kB / 0.6333 GB, free: 11.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001368/0.5241, allocations: 435.5 kB / 0.6337 GB, free: 10.89 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 (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.0002722/0.5243, allocations: 140.2 kB / 0.6339 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006623/0.531, allocations: 2.441 MB / 0.6362 GB, free: 8.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.531, allocations: 0 / 0.6362 GB, free: 8.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004508/0.5355, allocations: 1.557 MB / 0.6378 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5366, allocations: 93.25 kB / 0.6379 GB, free: 6.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.5411, allocations: 2.491 MB / 0.6403 GB, free: 4.148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.5418, allocations: 1.095 MB / 0.6414 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.5422, allocations: 88.88 kB / 0.6414 GB, free: 2.938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.5424, allocations: 63.42 kB / 0.6415 GB, free: 2.875 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5425, allocations: 4 kB / 0.6415 GB, free: 2.871 MB / 446.1 MB Notification: Performance of Templates: time 0.03019/0.5727, allocations: 20.92 MB / 0.6619 GB, free: 14.14 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)