Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0784/0.0784, allocations: 12.6 MB / 28.85 MB, free: 0.625 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.00106/0.00106, allocations: 115.4 kB / 32.45 MB, free: 3.566 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.339/1.339, allocations: 205.1 MB / 241 MB, free: 12.37 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.00144/0.00144, allocations: 191.8 kB / 291.3 MB, free: 10.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4511/0.4511, allocations: 78.5 MB / 419.9 MB, free: 10.77 MB / 302.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.005329/0.005329, allocations: 137 kB / 0.4895 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2732, allocations: 68.13 MB / 0.556 GB, free: 21.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004926/0.2782, allocations: 6.471 MB / 0.5623 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.2812, allocations: 1.834 MB / 0.5641 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.2819, allocations: 12 kB / 0.5641 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.2824, allocations: 222 kB / 0.5643 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.2838, allocations: 0.7291 MB / 0.565 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.2849, allocations: 0.603 MB / 0.5656 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.286, allocations: 1.417 MB / 0.567 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003601/0.2863, allocations: 330.8 kB / 0.5673 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005164/0.2869, allocations: 0.5912 MB / 0.5679 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.2874, allocations: 0.7271 MB / 0.5686 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.2875, allocations: 104 kB / 0.5687 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.288, allocations: 239.8 kB / 0.569 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.2882, allocations: 282.8 kB / 0.5692 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.2885, allocations: 0.6291 MB / 0.5698 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.2896, allocations: 1.518 MB / 0.5713 GB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2896, allocations: 0 / 0.5713 GB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2896, allocations: 4 kB / 0.5713 GB, free: 5.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.2896, allocations: 3.938 kB / 0.5713 GB, free: 5.508 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.006908/0.2965, allocations: 2.564 MB / 0.5738 GB, free: 2.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2966, allocations: 11.98 kB / 0.5738 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/0.3011, allocations: 0.7749 MB / 0.5746 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.3023, allocations: 0.7685 MB / 0.5753 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.3025, allocations: 272 kB / 0.5756 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.3027, allocations: 76 kB / 0.5757 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.3046, allocations: 1.073 MB / 0.5767 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3046, allocations: 3.938 kB / 0.5767 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.3047, allocations: 32 kB / 0.5768 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.3047, allocations: 20 kB / 0.5768 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.3071, allocations: 1.117 MB / 0.5779 GB, free: 14.65 MB / 398.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.005781/0.3129, allocations: 3.455 MB / 0.5812 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.315, allocations: 1.422 MB / 0.5826 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.3166, allocations: 0.7852 MB / 0.5834 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.3167, allocations: 12.98 kB / 0.5834 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3167, allocations: 47.56 kB / 0.5835 GB, free: 8.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 2.695e-06/0.3167, allocations: 0 / 0.5835 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=97): time 0.02404/0.3408, allocations: 6.606 MB / 0.5899 GB, free: 2.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.3409, allocations: 68.41 kB / 0.59 GB, free: 1.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3421, allocations: 0.8923 MB / 0.5908 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.3423, allocations: 45.7 kB / 0.5909 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.3427, allocations: 0.489 MB / 0.5914 GB, free: 480 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/0.343, allocations: 355 kB / 0.5917 GB, free: 120 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/0.3434, allocations: 194.8 kB / 0.5919 GB, free: 15.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3436, allocations: 349.9 kB / 0.5922 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.3451, allocations: 0.7209 MB / 0.5929 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.3467, allocations: 0.8501 MB / 0.5938 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01779/0.3645, allocations: 4.826 MB / 0.5985 GB, free: 9.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3645, allocations: 0 / 0.5985 GB, free: 9.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01288/0.3774, allocations: 4.273 MB / 0.6026 GB, free: 4.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.3775, allocations: 8 kB / 0.6027 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.3775, allocations: 11.94 kB / 0.6027 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005964/0.3835, allocations: 1.803 MB / 0.6044 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.3846, allocations: 207.7 kB / 0.6046 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/0.4055, allocations: 9.32 MB / 0.6137 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.4069, allocations: 179 kB / 0.6139 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.4071, allocations: 43.92 kB / 0.6139 GB, free: 9.109 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004767/0.4076, allocations: 253.3 kB / 0.6142 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4078, allocations: 118.5 kB / 0.6143 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.4201, allocations: 4.014 MB / 0.6182 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.4202, allocations: 11.98 kB / 0.6182 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4202, allocations: 0 / 0.6182 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.4202, allocations: 3.984 kB / 0.6182 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.4349, allocations: 5.614 MB / 0.6237 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.4349, allocations: 0 / 0.6237 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007617/0.4357, allocations: 131.8 kB / 0.6238 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005632/0.4413, allocations: 1.745 MB / 0.6255 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.4415, allocations: 16 kB / 0.6256 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/0.459, allocations: 8.076 MB / 0.6334 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4591, allocations: 0 / 0.6334 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.4731, allocations: 4.968 MB / 0.6383 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.4735, allocations: 199.5 kB / 0.6385 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.4737, allocations: 16 kB / 0.6385 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/0.4746, allocations: 115.8 kB / 0.6386 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006754/0.4753, allocations: 220.7 kB / 0.6388 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.4754, allocations: 24 kB / 0.6388 GB, free: 15.24 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007697/0.4762, allocations: 0.6008 MB / 0.6394 GB, free: 14.63 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4762, allocations: 0 / 0.6394 GB, free: 14.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001254/0.4774, allocations: 447.4 kB / 0.6399 GB, free: 14.19 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.000248/0.4777, allocations: 127.5 kB / 0.64 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006497/0.4842, allocations: 2.491 MB / 0.6424 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4842, allocations: 0 / 0.6424 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004583/0.4888, allocations: 1.597 MB / 0.644 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.4896, allocations: 88.52 kB / 0.6441 GB, free: 9.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.4932, allocations: 2.016 MB / 0.646 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.4939, allocations: 1.099 MB / 0.6471 GB, free: 6.688 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003312/0.4942, allocations: 82.77 kB / 0.6472 GB, free: 6.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.4944, allocations: 67.42 kB / 0.6472 GB, free: 6.535 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4944, allocations: 0 / 0.6472 GB, free: 6.535 MB / 462.1 MB Notification: Performance of Templates: time 0.03398/0.5284, allocations: 23.7 MB / 0.6704 GB, free: 14.84 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)