Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07384/0.07384, allocations: 12.6 MB / 28.91 MB, free: 0.5977 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.001077/0.001077, allocations: 111.5 kB / 32.51 MB, free: 3.535 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.347/1.347, allocations: 205.1 MB / 241.1 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.001612/0.001612, allocations: 187.8 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.448/0.448, allocations: 78.51 MB / 420 MB, free: 11.28 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.002778/0.002778, allocations: 134.8 kB / 0.5565 GB, free: 28.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1309, allocations: 68.12 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007218/0.1382, allocations: 6.433 MB / 0.6293 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.1422, allocations: 1.814 MB / 0.6311 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.1433, allocations: 12 kB / 0.6311 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.1442, allocations: 230 kB / 0.6314 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.1467, allocations: 0.7609 MB / 0.6321 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.1482, allocations: 0.6068 MB / 0.6327 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.1502, allocations: 1.398 MB / 0.6341 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006915/0.151, allocations: 328.2 kB / 0.6344 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.1519, allocations: 0.5834 MB / 0.6349 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.1527, allocations: 0.7233 MB / 0.6356 GB, free: 2.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1528, allocations: 100 kB / 0.6357 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.1532, allocations: 235.9 kB / 0.636 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1535, allocations: 286.7 kB / 0.6362 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004802/0.1539, allocations: 0.6135 MB / 0.6368 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1554, allocations: 1.51 MB / 0.6383 GB, free: 15.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1554, allocations: 0 / 0.6383 GB, free: 15.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1554, allocations: 0 / 0.6383 GB, free: 15.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.1554, allocations: 0 / 0.6383 GB, free: 15.73 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007804/0.1633, allocations: 2.54 MB / 0.6408 GB, free: 13.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1633, allocations: 11.98 kB / 0.6408 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/0.1683, allocations: 0.7788 MB / 0.6416 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.1695, allocations: 0.7605 MB / 0.6423 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/0.1698, allocations: 256.2 kB / 0.6425 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.17, allocations: 80 kB / 0.6426 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.1724, allocations: 1.069 MB / 0.6437 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1724, allocations: 3.938 kB / 0.6437 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.1725, allocations: 32 kB / 0.6437 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1726, allocations: 20 kB / 0.6437 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.1751, allocations: 1.117 MB / 0.6448 GB, free: 8.91 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.005969/0.1811, allocations: 3.424 MB / 0.6482 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.1833, allocations: 1.42 MB / 0.6495 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.185, allocations: 0.7695 MB / 0.6503 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/0.1851, allocations: 17 kB / 0.6503 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1851, allocations: 47.55 kB / 0.6504 GB, free: 2.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.306e-06/0.1852, allocations: 0 / 0.6504 GB, free: 2.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02664/0.2118, allocations: 6.742 MB / 0.6569 GB, free: 12.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2119, allocations: 68.39 kB / 0.657 GB, free: 12.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.2132, allocations: 0.8876 MB / 0.6579 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.2134, allocations: 41.7 kB / 0.6579 GB, free: 11.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.2138, allocations: 492.7 kB / 0.6584 GB, free: 10.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/0.2143, allocations: 343.1 kB / 0.6587 GB, free: 10.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005194/0.2148, allocations: 198.8 kB / 0.6589 GB, free: 10.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2149, allocations: 345.9 kB / 0.6592 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.2166, allocations: 0.713 MB / 0.6599 GB, free: 9.062 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.2184, allocations: 0.8462 MB / 0.6608 GB, free: 8.184 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01856/0.237, allocations: 4.783 MB / 0.6654 GB, free: 3.363 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.237, allocations: 3.938 kB / 0.6654 GB, free: 3.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01402/0.2511, allocations: 4.257 MB / 0.6696 GB, free: 15.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.2512, allocations: 8 kB / 0.6696 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.2512, allocations: 0 / 0.6696 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006288/0.2575, allocations: 1.859 MB / 0.6714 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.2586, allocations: 207.7 kB / 0.6716 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/0.2807, allocations: 9.085 MB / 0.6805 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.2823, allocations: 170.9 kB / 0.6806 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/0.2826, allocations: 43.98 kB / 0.6807 GB, free: 3.562 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.000651/0.2832, allocations: 245.4 kB / 0.6809 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.2836, allocations: 122.4 kB / 0.681 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.297, allocations: 3.998 MB / 0.6849 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.2971, allocations: 3.984 kB / 0.6849 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.2971, allocations: 3.984 kB / 0.6849 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.2975, allocations: 211.2 kB / 0.6851 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.2978, allocations: 16 kB / 0.6852 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.299, allocations: 111.9 kB / 0.6853 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001341/0.3004, allocations: 0.4963 MB / 0.6858 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006163/0.3066, allocations: 2.067 MB / 0.6878 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004937/0.3115, allocations: 2.31 MB / 0.69 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001445/0.313, allocations: 0.6207 MB / 0.6906 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000803/0.3138, allocations: 0.5927 MB / 0.6912 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of Backend: time 5.31e-07/0.3138, allocations: 0 / 0.6912 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006383/0.3202, allocations: 1.977 MB / 0.6931 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003751/0.3239, allocations: 2.458 MB / 0.6955 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.2998/0.6237, allocations: 22.45 MB / 0.7175 GB, free: 87.2 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)