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.08/0.08, allocations: 12.6 MB / 28.9 MB, free: 0.6328 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.001129/0.00113, allocations: 111.5 kB / 32.5 MB, free: 3.57 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.402/1.402, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.001675/0.001675, allocations: 188.5 kB / 291.4 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.4695/0.4695, allocations: 78.5 MB / 420 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.003696/0.003696, allocations: 144.9 kB / 0.5565 GB, free: 17.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1591, allocations: 68.13 MB / 0.6231 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007468/0.1666, allocations: 6.477 MB / 0.6294 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.1706, allocations: 1.83 MB / 0.6312 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1718, allocations: 12 kB / 0.6312 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008781/0.1727, allocations: 226 kB / 0.6314 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.1752, allocations: 0.7218 MB / 0.6321 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.1768, allocations: 0.6079 MB / 0.6327 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.179, allocations: 1.421 MB / 0.6341 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.1797, allocations: 324.4 kB / 0.6344 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.1808, allocations: 0.5874 MB / 0.635 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.1819, allocations: 0.7427 MB / 0.6357 GB, free: 148 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003718/0.1823, allocations: 100 kB / 0.6358 GB, free: 48 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.1831, allocations: 243.8 kB / 0.636 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.1835, allocations: 270.8 kB / 0.6363 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009011/0.1844, allocations: 0.6291 MB / 0.6369 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.1868, allocations: 1.526 MB / 0.6384 GB, free: 13.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1869, allocations: 0 / 0.6384 GB, free: 13.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1869, allocations: 3.938 kB / 0.6384 GB, free: 13.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.874e-05/0.187, allocations: 3.938 kB / 0.6384 GB, free: 13.37 MB / 462.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.008684/0.1956, allocations: 2.556 MB / 0.6409 GB, free: 10.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1957, allocations: 11.98 kB / 0.6409 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005007/0.2007, allocations: 0.7865 MB / 0.6417 GB, free: 9.957 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.2024, allocations: 0.7686 MB / 0.6424 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.2028, allocations: 256.2 kB / 0.6427 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.2029, allocations: 83.94 kB / 0.6428 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.2054, allocations: 1.073 MB / 0.6438 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.2054, allocations: 3.938 kB / 0.6438 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/0.2055, allocations: 32 kB / 0.6438 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.2055, allocations: 20 kB / 0.6439 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.2081, allocations: 1.124 MB / 0.645 GB, free: 6.504 MB / 462.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.006672/0.2148, allocations: 3.432 MB / 0.6483 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/0.2172, allocations: 1.431 MB / 0.6497 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.2189, allocations: 0.7851 MB / 0.6505 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.219, allocations: 20.97 kB / 0.6505 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.2191, allocations: 43.56 kB / 0.6505 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.206e-06/0.2191, allocations: 0 / 0.6505 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02684/0.2459, allocations: 6.606 MB / 0.657 GB, free: 9.875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.246, allocations: 64.41 kB / 0.657 GB, free: 9.801 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.2476, allocations: 0.904 MB / 0.6579 GB, free: 8.879 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.2479, allocations: 41.7 kB / 0.658 GB, free: 8.832 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/0.2483, allocations: 0.489 MB / 0.6584 GB, free: 8.336 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/0.2489, allocations: 339.1 kB / 0.6588 GB, free: 8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.2495, allocations: 206.8 kB / 0.659 GB, free: 7.789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2497, allocations: 345.9 kB / 0.6593 GB, free: 7.445 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.2514, allocations: 0.7248 MB / 0.66 GB, free: 6.723 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.2533, allocations: 0.854 MB / 0.6608 GB, free: 5.836 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01896/0.2723, allocations: 4.822 MB / 0.6655 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2723, allocations: 0 / 0.6655 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01416/0.2865, allocations: 4.273 MB / 0.6697 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.2866, allocations: 4 kB / 0.6697 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.2866, allocations: 7.938 kB / 0.6697 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006407/0.293, allocations: 1.807 MB / 0.6715 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.2942, allocations: 215.7 kB / 0.6717 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02342/0.3177, allocations: 9.32 MB / 0.6808 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.3202, allocations: 175 kB / 0.681 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003689/0.3206, allocations: 39.98 kB / 0.681 GB, free: 0.9609 MB / 494.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.0008118/0.3214, allocations: 248.7 kB / 0.6812 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005627/0.322, allocations: 126.5 kB / 0.6814 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4487/0.7707, allocations: 4.003 MB / 0.6853 GB, free: 54.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.7708, allocations: 9.938 kB / 0.6853 GB, free: 54.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.7709, allocations: 0 / 0.6853 GB, free: 54.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-05/0.7709, allocations: 10.41 kB / 0.6853 GB, free: 54.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/0.7906, allocations: 5.611 MB / 0.6908 GB, free: 53.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.7907, allocations: 0 / 0.6908 GB, free: 53.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009426/0.7917, allocations: 133.7 kB / 0.6909 GB, free: 53.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006748/0.7985, allocations: 1.746 MB / 0.6926 GB, free: 53.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/0.7987, allocations: 20.33 kB / 0.6926 GB, free: 53.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.8174, allocations: 8.073 MB / 0.7005 GB, free: 49.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8174, allocations: 0 / 0.7005 GB, free: 49.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/0.8331, allocations: 4.968 MB / 0.7054 GB, free: 47.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.8336, allocations: 202.7 kB / 0.7056 GB, free: 47.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.8339, allocations: 16.62 kB / 0.7056 GB, free: 47.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.835, allocations: 111.8 kB / 0.7057 GB, free: 47.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007578/0.8357, allocations: 222.5 kB / 0.7059 GB, free: 47.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.8358, allocations: 20.56 kB / 0.7059 GB, free: 47.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000973/0.8368, allocations: 0.6084 MB / 0.7065 GB, free: 46.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8368, allocations: 1.562 kB / 0.7065 GB, free: 46.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001407/0.8382, allocations: 439 kB / 0.7069 GB, free: 46.66 MB / 494.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.0003112/0.8386, allocations: 131.4 kB / 0.707 GB, free: 46.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006575/0.8451, allocations: 2.491 MB / 0.7095 GB, free: 45.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8452, allocations: 0 / 0.7095 GB, free: 45.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004673/0.8499, allocations: 1.592 MB / 0.711 GB, free: 44.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.8508, allocations: 92.84 kB / 0.7111 GB, free: 44.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.8544, allocations: 2.038 MB / 0.7131 GB, free: 43.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.8549, allocations: 1.094 MB / 0.7142 GB, free: 42.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.8552, allocations: 77.88 kB / 0.7143 GB, free: 42.28 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8553, allocations: 0 / 0.7143 GB, free: 42.28 MB / 494.1 MB Notification: Performance of Templates: time 0.02111/0.8764, allocations: 20.2 MB / 0.734 GB, free: 22.12 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)