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.001419/0.001419, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.506/1.506, allocations: 230.6 MB / 250.5 MB, free: 9.203 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.00153/0.00153, allocations: 209.7 kB / 306.7 MB, free: 4.301 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.5941/0.5941, allocations: 101.3 MB / 464.1 MB, free: 11.94 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="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.002456/0.002456, allocations: 75.89 kB / 0.62 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1713, allocations: 78.57 MB / 0.6967 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.3781/0.5493, allocations: 4.95 MB / 0.7015 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00288/0.5522, allocations: 1.653 MB / 0.7031 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003051/0.5525, allocations: 6.031 kB / 0.7031 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.5529, allocations: 163.1 kB / 0.7033 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.5543, allocations: 0.6906 MB / 0.704 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.5551, allocations: 433.1 kB / 0.7044 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.5561, allocations: 1.078 MB / 0.7054 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.5564, allocations: 152 kB / 0.7056 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.557, allocations: 471.2 kB / 0.706 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.5576, allocations: 0.5573 MB / 0.7066 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.5578, allocations: 98.5 kB / 0.7067 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.5583, allocations: 253 kB / 0.7069 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.5584, allocations: 232.8 kB / 0.7071 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.5588, allocations: 479.7 kB / 0.7076 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.5603, allocations: 1.267 MB / 0.7088 GB, free: 2.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5603, allocations: 0 / 0.7088 GB, free: 2.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5603, allocations: 1.766 kB / 0.7088 GB, free: 2.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.5603, allocations: 3.938 kB / 0.7088 GB, free: 2.199 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.005291/0.5656, allocations: 1.793 MB / 0.7106 GB, free: 1.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.5656, allocations: 9.203 kB / 0.7106 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.051e-05/0.5657, allocations: 12.41 kB / 0.7106 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.5658, allocations: 89.94 kB / 0.7107 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003263/0.569, allocations: 0.5298 MB / 0.7112 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008101/0.5698, allocations: 0.6604 MB / 0.7118 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.57, allocations: 141.8 kB / 0.712 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.5701, allocations: 49.22 kB / 0.712 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5714, allocations: 0.6585 MB / 0.7127 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.5714, allocations: 2.906 kB / 0.7127 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/0.5715, allocations: 18.81 kB / 0.7127 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.5715, allocations: 15.47 kB / 0.7127 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.5728, allocations: 0.6244 MB / 0.7133 GB, free: 15.96 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.004777/0.5775, allocations: 2.63 MB / 0.7159 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.5907, allocations: 2.764 MB / 0.7186 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.5918, allocations: 405 kB / 0.719 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/0.5919, allocations: 11.36 kB / 0.719 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.5919, allocations: 38.33 kB / 0.719 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 2.515e-06/0.5919, allocations: 5.031 kB / 0.719 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01454/0.6065, allocations: 3.516 MB / 0.7225 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.6065, allocations: 58.38 kB / 0.7225 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.6079, allocations: 0.7702 MB / 0.7233 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.608, allocations: 35.98 kB / 0.7233 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.6084, allocations: 364.3 kB / 0.7236 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.6087, allocations: 220 kB / 0.7239 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/0.6091, allocations: 171.4 kB / 0.724 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.6093, allocations: 391.8 kB / 0.7244 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.6104, allocations: 0.4946 MB / 0.7249 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.6117, allocations: 0.6001 MB / 0.7255 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01716/0.6288, allocations: 3.664 MB / 0.729 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.6288, allocations: 7.344 kB / 0.729 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007832/0.6367, allocations: 2.373 MB / 0.7314 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.6367, allocations: 5.031 kB / 0.7314 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6367, allocations: 2.438 kB / 0.7314 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004393/0.6411, allocations: 1.053 MB / 0.7324 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/0.6419, allocations: 157.2 kB / 0.7326 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.6535, allocations: 5.068 MB / 0.7375 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.6549, allocations: 116.4 kB / 0.7376 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/0.6549, allocations: 33.52 kB / 0.7376 GB, free: 3.625 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.0005186/0.6555, allocations: 208.9 kB / 0.7378 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.6556, allocations: 93.5 kB / 0.7379 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006363/0.662, allocations: 1.93 MB / 0.7398 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.662, allocations: 5.781 kB / 0.7398 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.662, allocations: 3.656 kB / 0.7398 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.662, allocations: 6.484 kB / 0.7398 GB, free: 2.355 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.007699/0.6697, allocations: 3.03 MB / 0.7428 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.6697, allocations: 0 / 0.7428 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.6702, allocations: 60.72 kB / 0.7429 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/0.6737, allocations: 0.947 MB / 0.7438 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.6737, allocations: 15.2 kB / 0.7438 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008842/0.6826, allocations: 4.109 MB / 0.7478 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6826, allocations: 3.938 kB / 0.7478 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007487/0.6901, allocations: 2.518 MB / 0.7503 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.6904, allocations: 176.5 kB / 0.7504 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6905, allocations: 19.98 kB / 0.7505 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.6913, allocations: 51.94 kB / 0.7505 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/0.6916, allocations: 120.4 kB / 0.7506 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.6917, allocations: 12.19 kB / 0.7506 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007401/0.6924, allocations: 0.5225 MB / 0.7511 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6924, allocations: 3.938 kB / 0.7511 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001049/0.6935, allocations: 295.8 kB / 0.7514 GB, free: 9.414 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.007756/0.7012, allocations: 3.084 MB / 0.7544 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004745/0.706, allocations: 1.644 MB / 0.756 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.706, allocations: 0 / 0.756 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.7089, allocations: 1.041 MB / 0.7571 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007315/0.7096, allocations: 62.94 kB / 0.7571 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/0.733, allocations: 9.907 MB / 0.7668 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.7336, allocations: 0.9421 MB / 0.7677 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.734, allocations: 65.14 kB / 0.7678 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.7344, allocations: 287.3 kB / 0.768 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.7344, allocations: 4 kB / 0.7681 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07747/0.8119, allocations: 21.82 MB / 0.7894 GB, free: 2.336 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.96, allocations: 14.72 kB / 0.7894 GB, free: 2.324 MB / 0.545 GB " [Timeout remaining time 647] (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.46915092098061] Failed to read output from testmodel.py, exit status != 0: 13.101465398038272 13.114851916 12.551727656 Calling exit ...