Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.04671/0.04671, allocations: 9.51 MB / 29.37 MB, free: 5.871 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:11:9-20:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/WorkInProgress.mo:130:9-144:24:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 95.34 kB / 35.55 MB, free: 440 kB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8532/0.8532, allocations: 158.6 MB / 197.4 MB, free: 6.895 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 179.9 kB / 249.9 MB, free: 5.426 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2094/0.2094, allocations: 59.69 MB / 312.9 MB, free: 6.336 MB / 298.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 350.9 MB, free: 204 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.453e-05, allocations: 10.19 kB / 351 MB, free: 192 kB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.1273/0.1273, allocations: 4.68 MB / 355.6 MB, free: 21.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.1297, allocations: 1.579 MB / 357.2 MB, free: 20.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.13, allocations: 5.125 kB / 357.2 MB, free: 20.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.1303, allocations: 167.3 kB / 357.4 MB, free: 20.25 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1315, allocations: 0.6945 MB / 358.1 MB, free: 19.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.1321, allocations: 416.4 kB / 358.5 MB, free: 19.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009314/0.133, allocations: 1.118 MB / 359.6 MB, free: 19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.1332, allocations: 147.1 kB / 359.7 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.1339, allocations: 0.6412 MB / 360.4 MB, free: 18.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004084/0.1343, allocations: 462.9 kB / 360.8 MB, free: 18.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.1344, allocations: 99.94 kB / 360.9 MB, free: 18.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1347, allocations: 224.5 kB / 361.2 MB, free: 18.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1348, allocations: 236.2 kB / 361.4 MB, free: 18.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.135, allocations: 322.3 kB / 361.7 MB, free: 17.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006866/0.1357, allocations: 0.8791 MB / 362.6 MB, free: 17.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1357, allocations: 6.812 kB / 362.6 MB, free: 17.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1357, allocations: 0 / 362.6 MB, free: 17.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.1357, allocations: 0 / 362.6 MB, free: 17.2 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002402/0.1381, allocations: 1.678 MB / 364.3 MB, free: 16.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.1382, allocations: 11.19 kB / 364.3 MB, free: 16.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.1398, allocations: 0.6409 MB / 364.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.1403, allocations: 413.8 kB / 365.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/0.1404, allocations: 190.5 kB / 365.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.1405, allocations: 55.16 kB / 365.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.1409, allocations: 391.3 kB / 365.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1409, allocations: 0 / 365.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.1409, allocations: 18 kB / 366 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1409, allocations: 12.09 kB / 366 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.1412, allocations: 180.2 kB / 366.1 MB, free: 15.15 MB / 330.7 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.002163/0.1434, allocations: 1.248 MB / 367.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.148, allocations: 1.627 MB / 369 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.1482, allocations: 129.5 kB / 369.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.1483, allocations: 12.5 kB / 369.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1483, allocations: 35.06 kB / 369.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/0.1483, allocations: 0 / 369.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.004793/0.1531, allocations: 1.904 MB / 371.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.1531, allocations: 59.91 kB / 371.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.1535, allocations: 0.6052 MB / 371.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.1535, allocations: 41.7 kB / 371.8 MB, free: 9.531 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1536, allocations: 278.9 kB / 372.1 MB, free: 9.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1537, allocations: 222.1 kB / 372.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.1539, allocations: 158.5 kB / 372.4 MB, free: 8.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.154, allocations: 398.6 kB / 372.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.1543, allocations: 174 kB / 373 MB, free: 8.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.1547, allocations: 277.6 kB / 373.3 MB, free: 8.008 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1557, allocations: 0.7419 MB / 374 MB, free: 7.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1557, allocations: 3.938 kB / 374 MB, free: 7.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002739/0.1584, allocations: 1.292 MB / 375.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1584, allocations: 12 kB / 375.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1584, allocations: 0 / 375.3 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.1611, allocations: 0.9089 MB / 376.2 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.1615, allocations: 139.8 kB / 376.4 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/0.1678, allocations: 2.525 MB / 378.9 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.1683, allocations: 95.48 kB / 379 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.1683, allocations: 19.98 kB / 379 MB, free: 2.137 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.1685, allocations: 165.2 kB / 379.2 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1686, allocations: 59.94 kB / 379.2 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00799/0.1766, allocations: 1.035 MB / 380.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1766, allocations: 4 kB / 380.3 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1766, allocations: 4 kB / 380.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1766, allocations: 0 / 380.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008643/0.1853, allocations: 1.444 MB / 381.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1853, allocations: 0 / 381.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.1855, allocations: 59.91 kB / 381.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008232/0.1937, allocations: 0.8024 MB / 382.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.1938, allocations: 19.94 kB / 382.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008764/0.2026, allocations: 2.142 MB / 384.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2026, allocations: 3.938 kB / 384.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.205, allocations: 1.204 MB / 385.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2051, allocations: 75.34 kB / 386 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.2052, allocations: 12 kB / 386 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006371/0.2116, allocations: 35.97 kB / 386.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.2118, allocations: 116.2 kB / 386.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2118, allocations: 17.12 kB / 386.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002801/0.2121, allocations: 304.5 kB / 386.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2121, allocations: 0 / 386.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006949/0.2128, allocations: 299.7 kB / 386.8 MB, free: 10.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001702/0.213, allocations: 92.36 kB / 386.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00582/0.2188, allocations: 0.8915 MB / 387.8 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.2188, allocations: 8 kB / 387.8 MB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.2199, allocations: 0.5867 MB / 388.4 MB, free: 8.551 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.2203, allocations: 62.98 kB / 388.4 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.2224, allocations: 1.26 MB / 389.7 MB, free: 7.203 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.2225, allocations: 163.3 kB / 389.8 MB, free: 7.023 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.2227, allocations: 68.45 kB / 389.9 MB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.223, allocations: 123.4 kB / 390 MB, free: 6.836 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.223, allocations: 3.938 kB / 390 MB, free: 6.832 MB / 346.7 MB Notification: Performance of Templates: time 0.01904/0.242, allocations: 15.81 MB / 405.8 MB, free: 7.172 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.559101887047291]