Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0995/0.0995, allocations: 12.6 MB / 28.91 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.001065/0.001065, allocations: 107.5 kB / 32.51 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.314/1.314, 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.001407/0.001407, allocations: 195.5 kB / 291.4 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4603/0.4603, allocations: 78.52 MB / 420 MB, free: 11.23 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.002755/0.002755, allocations: 139.3 kB / 0.5565 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1158, allocations: 68.12 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.007151/0.123, allocations: 6.379 MB / 0.6293 GB, free: 9.008 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.1271, allocations: 1.904 MB / 0.6311 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.1281, allocations: 11.94 kB / 0.6312 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008302/0.1289, allocations: 230 kB / 0.6314 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.1311, allocations: 0.7843 MB / 0.6321 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.1326, allocations: 0.6537 MB / 0.6328 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001741/0.1344, allocations: 1.464 MB / 0.6342 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.1349, allocations: 320.3 kB / 0.6345 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009069/0.1358, allocations: 0.5991 MB / 0.6351 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009745/0.1368, allocations: 0.7311 MB / 0.6358 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.1371, allocations: 100 kB / 0.6359 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.1377, allocations: 239.9 kB / 0.6361 GB, free: 1.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.138, allocations: 290.7 kB / 0.6364 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007108/0.1387, allocations: 0.6136 MB / 0.637 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.1404, allocations: 1.541 MB / 0.6385 GB, free: 15.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1404, allocations: 0 / 0.6385 GB, free: 15.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1404, allocations: 0 / 0.6385 GB, free: 15.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.415e-05/0.1404, allocations: 0 / 0.6385 GB, free: 15.52 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.008886/0.1493, allocations: 2.54 MB / 0.641 GB, free: 12.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1494, allocations: 11.98 kB / 0.641 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.1548, allocations: 0.7788 MB / 0.6418 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.1565, allocations: 0.8305 MB / 0.6426 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.1568, allocations: 256.2 kB / 0.6428 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.157, allocations: 72 kB / 0.6429 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.1597, allocations: 1.122 MB / 0.644 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1597, allocations: 7.875 kB / 0.644 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.1598, allocations: 28 kB / 0.644 GB, free: 9.715 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.1598, allocations: 20 kB / 0.644 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.1623, allocations: 1.066 MB / 0.6451 GB, free: 8.633 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.006198/0.1685, allocations: 3.436 MB / 0.6484 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.1709, allocations: 1.423 MB / 0.6498 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.1725, allocations: 0.7422 MB / 0.6506 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.1727, allocations: 16.97 kB / 0.6506 GB, free: 2.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.1727, allocations: 43.56 kB / 0.6506 GB, free: 2.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.587e-06/0.1727, allocations: 0 / 0.6506 GB, free: 2.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=89): time 0.02913/0.2019, allocations: 6.859 MB / 0.6573 GB, free: 11.79 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.2019, allocations: 90.11 kB / 0.6574 GB, free: 11.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.2035, allocations: 0.9536 MB / 0.6583 GB, free: 10.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.2037, allocations: 41.7 kB / 0.6584 GB, free: 10.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.2041, allocations: 484.5 kB / 0.6588 GB, free: 10.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.2046, allocations: 319.4 kB / 0.6591 GB, free: 9.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004519/0.205, allocations: 194.8 kB / 0.6593 GB, free: 9.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2052, allocations: 349.9 kB / 0.6597 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.2069, allocations: 0.7048 MB / 0.6603 GB, free: 8.613 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.2086, allocations: 0.8189 MB / 0.6611 GB, free: 7.762 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01949/0.2281, allocations: 4.689 MB / 0.6657 GB, free: 3.043 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.2282, allocations: 4 kB / 0.6657 GB, free: 3.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01492/0.2431, allocations: 4.249 MB / 0.6699 GB, free: 14.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/0.2432, allocations: 4 kB / 0.6699 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.2433, allocations: 4 kB / 0.6699 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006979/0.2502, allocations: 1.788 MB / 0.6716 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.2513, allocations: 191.7 kB / 0.6718 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/0.2755, allocations: 9.314 MB / 0.6809 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.2772, allocations: 175 kB / 0.6811 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.2774, allocations: 35.98 kB / 0.6811 GB, free: 3.117 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002206/0.2796, allocations: 0.8698 MB / 0.682 GB, free: 2.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001747/0.2814, allocations: 0.8111 MB / 0.6828 GB, free: 1.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01927/0.3007, allocations: 4.669 MB / 0.6873 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.755e-06/0.3007, allocations: 3.938 kB / 0.6873 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.01468/0.3154, allocations: 4.214 MB / 0.6914 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3155, allocations: 12 kB / 0.6914 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3155, allocations: 3.984 kB / 0.6914 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006587/0.3221, allocations: 1.792 MB / 0.6932 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000944/0.323, allocations: 179.7 kB / 0.6934 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02347/0.3465, allocations: 9.326 MB / 0.7025 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.3481, allocations: 163.1 kB / 0.7026 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.3483, allocations: 36 kB / 0.7027 GB, free: 12.81 MB / 0.5137 GB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (105): * Single equations (assignments): 104 * 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.000401/0.3487, allocations: 241.1 kB / 0.7029 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.349, allocations: 118.5 kB / 0.703 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.363, allocations: 3.947 MB / 0.7069 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.3631, allocations: 3.984 kB / 0.7069 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.3631, allocations: 19.92 kB / 0.7069 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.3636, allocations: 199.4 kB / 0.7071 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.3639, allocations: 19.94 kB / 0.7071 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.3652, allocations: 111.9 kB / 0.7072 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/0.3664, allocations: 484.2 kB / 0.7077 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006082/0.3725, allocations: 1.993 MB / 0.7096 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004941/0.3774, allocations: 2.208 MB / 0.7118 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001422/0.3789, allocations: 0.5817 MB / 0.7123 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001116/0.38, allocations: 0.6471 MB / 0.713 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of Backend: time 8.82e-07/0.38, allocations: 0 / 0.713 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2521/0.6321, allocations: 3.7 MB / 0.7166 GB, free: 86.76 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003712/0.6358, allocations: 2.574 MB / 0.7191 GB, free: 85.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.04621/0.6821, allocations: 33.48 MB / 0.7518 GB, free: 68.77 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)