Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07628/0.07628, allocations: 12.6 MB / 28.9 MB, free: 0.6289 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.001054/0.001054, allocations: 107.5 kB / 32.5 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.241/1.241, 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.001389/0.001389, allocations: 203.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4168/0.4168, allocations: 78.5 MB / 420 MB, free: 11.22 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.002541/0.002541, allocations: 142.8 kB / 0.5565 GB, free: 28.47 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1186, allocations: 68.12 MB / 0.623 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006506/0.1251, allocations: 5.738 MB / 0.6286 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.1285, allocations: 1.701 MB / 0.6303 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.129, allocations: 8 kB / 0.6303 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.1296, allocations: 202.3 kB / 0.6305 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.1313, allocations: 0.6854 MB / 0.6312 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.1325, allocations: 0.5528 MB / 0.6317 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.1338, allocations: 1.226 MB / 0.6329 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.1342, allocations: 271.1 kB / 0.6332 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.1347, allocations: 0.5173 MB / 0.6337 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006091/0.1354, allocations: 0.6377 MB / 0.6343 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.1355, allocations: 88 kB / 0.6344 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.1359, allocations: 227.8 kB / 0.6346 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.1361, allocations: 231 kB / 0.6348 GB, free: 3.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004182/0.1365, allocations: 0.5398 MB / 0.6354 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1378, allocations: 1.331 MB / 0.6367 GB, free: 1.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1378, allocations: 12 kB / 0.6367 GB, free: 1.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1378, allocations: 0 / 0.6367 GB, free: 1.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1379, allocations: 0 / 0.6367 GB, free: 1.41 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007134/0.145, allocations: 2.329 MB / 0.6389 GB, free: 15.03 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1451, allocations: 15.98 kB / 0.639 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004803/0.1499, allocations: 0.7518 MB / 0.6397 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.151, allocations: 0.7088 MB / 0.6404 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.1513, allocations: 247.5 kB / 0.6406 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.1515, allocations: 64 kB / 0.6407 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.1534, allocations: 0.9395 MB / 0.6416 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1535, allocations: 3.938 kB / 0.6416 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.1536, allocations: 28 kB / 0.6416 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.1536, allocations: 16 kB / 0.6416 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.1557, allocations: 0.9733 MB / 0.6426 GB, free: 11.2 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.005389/0.1611, allocations: 3.128 MB / 0.6456 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.1633, allocations: 1.319 MB / 0.6469 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.1647, allocations: 0.6983 MB / 0.6476 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.1648, allocations: 12.66 kB / 0.6476 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1648, allocations: 39.22 kB / 0.6477 GB, free: 5.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.437e-06/0.1648, allocations: 0 / 0.6477 GB, free: 5.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02652/0.1914, allocations: 6.708 MB / 0.6542 GB, free: 14.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1915, allocations: 60.06 kB / 0.6543 GB, free: 14.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.1926, allocations: 0.7943 MB / 0.655 GB, free: 14.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.1928, allocations: 41.7 kB / 0.6551 GB, free: 14.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.1931, allocations: 424.5 kB / 0.6555 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.1935, allocations: 287.8 kB / 0.6558 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.1939, allocations: 178.5 kB / 0.6559 GB, free: 13.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.194, allocations: 341.9 kB / 0.6563 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.1955, allocations: 0.6425 MB / 0.6569 GB, free: 12.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.197, allocations: 0.7627 MB / 0.6576 GB, free: 11.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01705/0.2141, allocations: 4.449 MB / 0.662 GB, free: 6.902 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.2141, allocations: 4 kB / 0.662 GB, free: 6.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01298/0.2271, allocations: 4.035 MB / 0.6659 GB, free: 2.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.2272, allocations: 8 kB / 0.6659 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.2272, allocations: 8 kB / 0.6659 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006055/0.2333, allocations: 1.87 MB / 0.6678 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/0.2342, allocations: 155.8 kB / 0.6679 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.2552, allocations: 9.082 MB / 0.6768 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.2567, allocations: 155 kB / 0.6769 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.2568, allocations: 39.98 kB / 0.677 GB, free: 7.387 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0004383/0.2572, allocations: 222.3 kB / 0.6772 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.2574, allocations: 106.7 kB / 0.6773 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/0.2698, allocations: 3.805 MB / 0.681 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.2699, allocations: 15.98 kB / 0.681 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2699, allocations: 0 / 0.681 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.2699, allocations: 11.92 kB / 0.681 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.2841, allocations: 5.325 MB / 0.6862 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2842, allocations: 0 / 0.6862 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.2846, allocations: 79.89 kB / 0.6863 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005766/0.2904, allocations: 1.756 MB / 0.688 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.2905, allocations: 12 kB / 0.688 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.3081, allocations: 8.072 MB / 0.6959 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3082, allocations: 0 / 0.6959 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/0.3222, allocations: 4.685 MB / 0.7005 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.3226, allocations: 191.6 kB / 0.7007 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.3227, allocations: 11.94 kB / 0.7007 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008846/0.3236, allocations: 95.95 kB / 0.7008 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006306/0.3243, allocations: 200.6 kB / 0.701 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.3243, allocations: 23.94 kB / 0.701 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006709/0.325, allocations: 0.5341 MB / 0.7015 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.325, allocations: 0 / 0.7015 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001095/0.3261, allocations: 395.6 kB / 0.7019 GB, free: 13.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0002533/0.3264, allocations: 131.2 kB / 0.702 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006208/0.3326, allocations: 2.31 MB / 0.7043 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3326, allocations: 4 kB / 0.7043 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004402/0.337, allocations: 1.5 MB / 0.7057 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.3377, allocations: 79.31 kB / 0.7058 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.3407, allocations: 1.681 MB / 0.7075 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.3412, allocations: 1.029 MB / 0.7085 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.3415, allocations: 63.42 kB / 0.7085 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.3415, allocations: 0 / 0.7085 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of Templates: time 0.286/0.6275, allocations: 17.81 MB / 0.7259 GB, free: 83.46 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)