Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001356/0.001356, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.447/1.447, allocations: 230.6 MB / 253.4 MB, free: 14.42 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.001675/0.001675, allocations: 216.3 kB / 310 MB, free: 3.086 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5903/0.5903, allocations: 101.3 MB / 467.8 MB, free: 30.55 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="cs",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.002344/0.002344, allocations: 83.11 kB / 0.6251 GB, free: 33.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.153, allocations: 78.62 MB / 0.7019 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006216/0.1592, allocations: 4.963 MB / 0.7068 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.1625, allocations: 1.677 MB / 0.7084 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.1628, allocations: 4 kB / 0.7084 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.1633, allocations: 162.6 kB / 0.7086 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.1649, allocations: 0.6944 MB / 0.7092 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.1658, allocations: 416.2 kB / 0.7096 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1671, allocations: 1.086 MB / 0.7107 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.1674, allocations: 146.8 kB / 0.7108 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006056/0.168, allocations: 478.1 kB / 0.7113 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007197/0.1687, allocations: 0.5602 MB / 0.7118 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.1688, allocations: 100 kB / 0.7119 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.1693, allocations: 255.8 kB / 0.7122 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.1695, allocations: 231.1 kB / 0.7124 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.1699, allocations: 477.4 kB / 0.7129 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.1714, allocations: 1.269 MB / 0.7141 GB, free: 4.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1714, allocations: 7.938 kB / 0.7141 GB, free: 4.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1714, allocations: 0 / 0.7141 GB, free: 4.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1714, allocations: 0 / 0.7141 GB, free: 4.516 MB / 494.1 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.00562/0.177, allocations: 1.723 MB / 0.7158 GB, free: 2.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1771, allocations: 15.97 kB / 0.7158 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.789e-05/0.1771, allocations: 13.19 kB / 0.7158 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.1772, allocations: 90.7 kB / 0.7159 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.1805, allocations: 0.5227 MB / 0.7164 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009787/0.1815, allocations: 0.582 MB / 0.717 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.1817, allocations: 189.5 kB / 0.7172 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1818, allocations: 56 kB / 0.7172 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.1832, allocations: 0.6584 MB / 0.7179 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1832, allocations: 0 / 0.7179 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.1833, allocations: 19.98 kB / 0.7179 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1833, allocations: 15.94 kB / 0.7179 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.1846, allocations: 0.6246 MB / 0.7185 GB, free: 15.9 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.00471/0.1894, allocations: 2.593 MB / 0.721 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.2018, allocations: 2.615 MB / 0.7236 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.2028, allocations: 406.1 kB / 0.724 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.533e-05/0.2029, allocations: 16.47 kB / 0.724 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.2029, allocations: 39.06 kB / 0.724 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 3.486e-06/0.2029, allocations: 0 / 0.724 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01316/0.2161, allocations: 3.284 MB / 0.7272 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.2161, allocations: 55.91 kB / 0.7273 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.2173, allocations: 0.77 MB / 0.728 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.2174, allocations: 37.7 kB / 0.7281 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.2177, allocations: 357.1 kB / 0.7284 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.218, allocations: 230.1 kB / 0.7286 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.2183, allocations: 166.6 kB / 0.7288 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.2185, allocations: 394.7 kB / 0.7292 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.2196, allocations: 0.5017 MB / 0.7297 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.2208, allocations: 0.5914 MB / 0.7302 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/0.2375, allocations: 3.658 MB / 0.7338 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.2375, allocations: 4 kB / 0.7338 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007676/0.2452, allocations: 2.384 MB / 0.7361 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.2452, allocations: 4 kB / 0.7362 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2452, allocations: 4 kB / 0.7362 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00441/0.2496, allocations: 1.047 MB / 0.7372 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/0.2505, allocations: 159.7 kB / 0.7373 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.2623, allocations: 4.977 MB / 0.7422 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.2636, allocations: 111.4 kB / 0.7423 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.2638, allocations: 35.98 kB / 0.7423 GB, free: 7.109 MB / 0.5137 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.0006182/0.2644, allocations: 201.7 kB / 0.7425 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.2647, allocations: 95.38 kB / 0.7426 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/0.2711, allocations: 1.928 MB / 0.7445 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2711, allocations: 8 kB / 0.7445 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.2711, allocations: 4 kB / 0.7445 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.2711, allocations: 3.984 kB / 0.7445 GB, free: 4.844 MB / 0.5137 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.008091/0.2792, allocations: 2.998 MB / 0.7474 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.2792, allocations: 7.984 kB / 0.7474 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.2797, allocations: 63.91 kB / 0.7475 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003547/0.2833, allocations: 0.9254 MB / 0.7484 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.981e-05/0.2833, allocations: 20 kB / 0.7484 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009248/0.2926, allocations: 4.011 MB / 0.7523 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.2926, allocations: 3.938 kB / 0.7524 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007647/0.3002, allocations: 2.506 MB / 0.7548 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.3006, allocations: 103.3 kB / 0.7549 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.3008, allocations: 12 kB / 0.7549 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008728/0.3016, allocations: 55.94 kB / 0.755 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/0.302, allocations: 128.2 kB / 0.7551 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/0.3021, allocations: 12 kB / 0.7551 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008242/0.3029, allocations: 0.5225 MB / 0.7556 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.3029, allocations: 0 / 0.7556 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001127/0.304, allocations: 299.8 kB / 0.7559 GB, free: 8.953 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.00792/0.3119, allocations: 3.074 MB / 0.7589 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004799/0.3167, allocations: 1.497 MB / 0.7604 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3168, allocations: 0 / 0.7604 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/0.3196, allocations: 0.8898 MB / 0.7612 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.3204, allocations: 62.92 kB / 0.7613 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02576/0.3462, allocations: 9.898 MB / 0.771 GB, free: 9.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.3469, allocations: 0.9421 MB / 0.7719 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003449/0.3473, allocations: 73.06 kB / 0.7719 GB, free: 8.219 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.3478, allocations: 295.3 kB / 0.7722 GB, free: 7.93 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.3478, allocations: 0 / 0.7722 GB, free: 7.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05904/0.4068, allocations: 22.38 MB / 0.7941 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.25, allocations: 4.062 kB / 0.7941 GB, free: 1.695 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.668445980059914] Failed to read output from testmodel.py, exit status != 0: 14.421388898976147 14.439586062 14.26458639 Calling exit ...