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.001576/0.001576, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.403/1.403, allocations: 230.6 MB / 252.6 MB, free: 8.285 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.001552/0.001552, allocations: 211.4 kB / 309.2 MB, free: 3.148 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.5494/0.5494, allocations: 101.3 MB / 467 MB, free: 10.33 MB / 334.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_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.002453/0.002453, allocations: 89.89 kB / 0.6244 GB, free: 12.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5049, allocations: 78.61 MB / 0.7012 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005413/0.5103, allocations: 4.989 MB / 0.7061 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.5134, allocations: 1.662 MB / 0.7077 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004597/0.5139, allocations: 5.938 kB / 0.7077 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.5143, allocations: 159.8 kB / 0.7078 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.5159, allocations: 0.7018 MB / 0.7085 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007506/0.5166, allocations: 413.3 kB / 0.7089 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.5178, allocations: 1.088 MB / 0.71 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.5181, allocations: 145 kB / 0.7101 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.5187, allocations: 474.5 kB / 0.7106 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007033/0.5194, allocations: 0.5633 MB / 0.7111 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.5196, allocations: 97.41 kB / 0.7112 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.5201, allocations: 247.4 kB / 0.7114 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.5203, allocations: 232 kB / 0.7117 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003518/0.5206, allocations: 475.5 kB / 0.7121 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.5222, allocations: 1.272 MB / 0.7134 GB, free: 1.473 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5222, allocations: 6.812 kB / 0.7134 GB, free: 1.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5222, allocations: 0 / 0.7134 GB, free: 1.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.5222, allocations: 0 / 0.7134 GB, free: 1.469 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.005471/0.5277, allocations: 1.718 MB / 0.715 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5277, allocations: 11.95 kB / 0.7151 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.5278, allocations: 88.27 kB / 0.7151 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.5311, allocations: 0.5341 MB / 0.7157 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/0.532, allocations: 0.5844 MB / 0.7162 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.5323, allocations: 199.7 kB / 0.7164 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5324, allocations: 53.25 kB / 0.7165 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.5337, allocations: 0.6517 MB / 0.7171 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.5337, allocations: 6.906 kB / 0.7171 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.5338, allocations: 19.78 kB / 0.7171 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5338, allocations: 15.06 kB / 0.7172 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.535, allocations: 0.6287 MB / 0.7178 GB, free: 15.32 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.004881/0.5399, allocations: 2.599 MB / 0.7203 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/0.5523, allocations: 2.612 MB / 0.7229 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.5535, allocations: 404.3 kB / 0.7232 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.251e-05/0.5536, allocations: 7.359 kB / 0.7232 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.5536, allocations: 38.62 kB / 0.7233 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 5.541e-06/0.5536, allocations: 4 kB / 0.7233 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.0137/0.5673, allocations: 3.29 MB / 0.7265 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.5674, allocations: 57.44 kB / 0.7266 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.5691, allocations: 0.7717 MB / 0.7273 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.5694, allocations: 35.89 kB / 0.7273 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.5697, allocations: 361.3 kB / 0.7277 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.57, allocations: 224.4 kB / 0.7279 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.5704, allocations: 169.8 kB / 0.7281 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002313/0.5706, allocations: 393.4 kB / 0.7284 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.5717, allocations: 0.4919 MB / 0.7289 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.5729, allocations: 0.5957 MB / 0.7295 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0166/0.5895, allocations: 3.67 MB / 0.7331 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.5895, allocations: 1.438 kB / 0.7331 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008217/0.5977, allocations: 2.38 MB / 0.7354 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.5977, allocations: 10.94 kB / 0.7354 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5977, allocations: 1.094 kB / 0.7354 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004409/0.6021, allocations: 1.047 MB / 0.7364 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/0.603, allocations: 156.3 kB / 0.7366 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.6155, allocations: 4.969 MB / 0.7414 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.6171, allocations: 111.7 kB / 0.7416 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.6173, allocations: 38.39 kB / 0.7416 GB, free: 3.172 MB / 0.4981 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.0008496/0.6182, allocations: 213.3 kB / 0.7418 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/0.6186, allocations: 88.47 kB / 0.7419 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006466/0.625, allocations: 1.925 MB / 0.7438 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.625, allocations: 6.594 kB / 0.7438 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.6251, allocations: 8.219 kB / 0.7438 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.6251, allocations: 0 / 0.7438 GB, free: 1.906 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 postOpt removeSimpleEquations (simulation): time 0.008136/0.6332, allocations: 2.993 MB / 0.7467 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6332, allocations: 3.938 kB / 0.7467 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.6337, allocations: 69.5 kB / 0.7468 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.6371, allocations: 0.9341 MB / 0.7477 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.6372, allocations: 12.12 kB / 0.7477 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009043/0.6462, allocations: 4.015 MB / 0.7516 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6462, allocations: 3.938 kB / 0.7516 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007533/0.6537, allocations: 2.506 MB / 0.7541 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.6542, allocations: 111.3 kB / 0.7542 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.6544, allocations: 8 kB / 0.7542 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.6553, allocations: 55.94 kB / 0.7542 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/0.6557, allocations: 124.2 kB / 0.7543 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/0.6558, allocations: 16 kB / 0.7544 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008949/0.6567, allocations: 0.5225 MB / 0.7549 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6567, allocations: 0 / 0.7549 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001245/0.6579, allocations: 307.7 kB / 0.7552 GB, free: 8.668 MB / 0.5137 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.007794/0.6657, allocations: 3.066 MB / 0.7582 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004776/0.6705, allocations: 1.489 MB / 0.7596 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.6705, allocations: 4.438 kB / 0.7596 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/0.6733, allocations: 0.8894 MB / 0.7605 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008839/0.6742, allocations: 62.88 kB / 0.7605 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/0.6987, allocations: 9.902 MB / 0.7702 GB, free: 9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.6994, allocations: 0.9421 MB / 0.7711 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.6997, allocations: 65.14 kB / 0.7712 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.7002, allocations: 295.3 kB / 0.7715 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of SimCode: time 1.773e-06/0.7003, allocations: 0 / 0.7715 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.7692, allocations: 22.35 MB / 0.7933 GB, free: 1.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.92, allocations: 7.938 kB / 0.7933 GB, free: 1.473 MB / 0.545 GB " [Timeout remaining time 645] (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: 20.866006734082475] Failed to read output from testmodel.py, exit status != 0: 15.03908305009827 15.065851908 14.539533613 Calling exit ...