Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json 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.001733/0.001733, allocations: 103.6 kB / 18.95 MB, free: 2.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 252.7 MB, free: 14.29 MB / 206.1 MB " [Timeout remaining time 178] 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.001928/0.001928, allocations: 222.8 kB / 309.2 MB, free: 3.102 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6498/0.6498, allocations: 107.2 MB / 472.8 MB, free: 29.8 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 94.7 kB / 0.633 GB, free: 29.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1685, allocations: 80.14 MB / 0.7113 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005954/0.1744, allocations: 4.406 MB / 0.7156 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.178, allocations: 1.564 MB / 0.7171 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.1785, allocations: 4 kB / 0.7171 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.1791, allocations: 166.6 kB / 0.7173 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.1809, allocations: 0.6711 MB / 0.7179 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009063/0.1818, allocations: 406.1 kB / 0.7183 GB, free: 460 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.1831, allocations: 1.086 MB / 0.7194 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.1834, allocations: 142.8 kB / 0.7195 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006096/0.184, allocations: 470.2 kB / 0.72 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006792/0.1847, allocations: 0.5093 MB / 0.7205 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.1848, allocations: 100 kB / 0.7206 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1853, allocations: 243.9 kB / 0.7208 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.1856, allocations: 231 kB / 0.721 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.1859, allocations: 390 kB / 0.7214 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1874, allocations: 1.28 MB / 0.7226 GB, free: 12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1874, allocations: 0 / 0.7226 GB, free: 12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1874, allocations: 4 kB / 0.7227 GB, free: 12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.1874, allocations: 0 / 0.7227 GB, free: 12 MB / 0.4981 GB 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.005428/0.1929, allocations: 1.723 MB / 0.7243 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.1929, allocations: 15.97 kB / 0.7243 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.193, allocations: 94.7 kB / 0.7244 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/0.1963, allocations: 0.5267 MB / 0.725 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.1975, allocations: 0.5782 MB / 0.7255 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.1977, allocations: 193.5 kB / 0.7257 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.1978, allocations: 52 kB / 0.7258 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.1993, allocations: 0.6584 MB / 0.7264 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1993, allocations: 0 / 0.7264 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/0.1993, allocations: 20 kB / 0.7264 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.1994, allocations: 15.94 kB / 0.7264 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2007, allocations: 0.6247 MB / 0.727 GB, free: 7.395 MB / 0.4981 GB 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.004629/0.2053, allocations: 2.1 MB / 0.7291 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.2175, allocations: 2.607 MB / 0.7316 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.2185, allocations: 410.1 kB / 0.732 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.355e-05/0.2186, allocations: 4.5 kB / 0.732 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.2187, allocations: 39.06 kB / 0.7321 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 2.955e-06/0.2187, allocations: 3.938 kB / 0.7321 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01287/0.2315, allocations: 3.284 MB / 0.7353 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.2316, allocations: 59.91 kB / 0.7353 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.2329, allocations: 0.7778 MB / 0.7361 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.233, allocations: 37.7 kB / 0.7361 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.2333, allocations: 357.1 kB / 0.7365 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.2335, allocations: 222.2 kB / 0.7367 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.2339, allocations: 166.6 kB / 0.7368 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.2341, allocations: 390.7 kB / 0.7372 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.2352, allocations: 0.4978 MB / 0.7377 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.2363, allocations: 0.5952 MB / 0.7383 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/0.2528, allocations: 3.674 MB / 0.7419 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.2528, allocations: 0 / 0.7419 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00764/0.2604, allocations: 2.388 MB / 0.7442 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2605, allocations: 4 kB / 0.7442 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2605, allocations: 4 kB / 0.7442 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004366/0.2648, allocations: 1.043 MB / 0.7452 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.2657, allocations: 151.7 kB / 0.7454 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.2769, allocations: 4.867 MB / 0.7501 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.2782, allocations: 119.3 kB / 0.7502 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/0.2782, allocations: 31.98 kB / 0.7503 GB, free: 15.26 MB / 0.5294 GB 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 (93): * Single equations (assignments): 90 * 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.0005123/0.2788, allocations: 219.8 kB / 0.7505 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.2789, allocations: 83.42 kB / 0.7506 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/0.285, allocations: 1.932 MB / 0.7524 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.285, allocations: 4 kB / 0.7525 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.285, allocations: 4 kB / 0.7525 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.285, allocations: 3.984 kB / 0.7525 GB, free: 12.99 MB / 0.5294 GB 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 postOpt removeSimpleEquations (simulation): time 0.007351/0.2923, allocations: 2.68 MB / 0.7551 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.2924, allocations: 4 kB / 0.7551 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.2928, allocations: 63.91 kB / 0.7551 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/0.2962, allocations: 0.9256 MB / 0.756 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.89e-05/0.2963, allocations: 16 kB / 0.7561 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008735/0.305, allocations: 3.928 MB / 0.7599 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.305, allocations: 11.88 kB / 0.7599 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007359/0.3124, allocations: 2.506 MB / 0.7624 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.3128, allocations: 111.3 kB / 0.7625 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.3129, allocations: 12 kB / 0.7625 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007566/0.3136, allocations: 55.94 kB / 0.7625 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/0.314, allocations: 124.3 kB / 0.7626 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.314, allocations: 12.19 kB / 0.7627 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007263/0.3148, allocations: 0.5225 MB / 0.7632 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.3148, allocations: 3.938 kB / 0.7632 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009367/0.3157, allocations: 303.7 kB / 0.7635 GB, free: 1.504 MB / 0.5294 GB 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.007602/0.3233, allocations: 3.069 MB / 0.7665 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004505/0.3278, allocations: 1.489 MB / 0.7679 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.3278, allocations: 4.438 kB / 0.7679 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002753/0.3306, allocations: 0.8816 MB / 0.7688 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.3313, allocations: 74.8 kB / 0.7688 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/0.3549, allocations: 9.902 MB / 0.7785 GB, free: 1.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3553, allocations: 352.6 kB / 0.7789 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000394/0.3557, allocations: 65.22 kB / 0.7789 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.3562, allocations: 291.3 kB / 0.7792 GB, free: 1.109 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.3562, allocations: 0 / 0.7792 GB, free: 1.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06145/0.4176, allocations: 23.7 MB / 0.8023 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.84, allocations: 0 / 0.8023 GB, free: 9.586 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.72037845198065] Failed to read output from testmodel.py, exit status != 0: 12.964863742236048 13.331430019 13.140986101 Calling exit ...