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.0008641/0.0008641, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9073/0.9073, allocations: 177.1 MB / 199.4 MB, free: 5.918 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.001111/0.001111, allocations: 156.6 kB / 256 MB, free: 13.33 MB / 250.7 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.2646/0.2646, allocations: 80.26 MB / 392.6 MB, free: 2.434 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5548 GB, free: 12.72 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.403e-05, allocations: 4.953 kB / 0.5548 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003957/0.003981, allocations: 4.397 MB / 0.5591 GB, free: 8.297 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.0061, allocations: 1.56 MB / 0.5606 GB, free: 6.734 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.006329, allocations: 8 kB / 0.5606 GB, free: 6.727 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.006648, allocations: 166.6 kB / 0.5608 GB, free: 6.562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.007678, allocations: 0.6707 MB / 0.5614 GB, free: 5.891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.00817, allocations: 418.9 kB / 0.5618 GB, free: 5.484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000745/0.008915, allocations: 1.117 MB / 0.5629 GB, free: 4.363 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.009137, allocations: 142.5 kB / 0.563 GB, free: 4.199 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.009657, allocations: 0.6351 MB / 0.5637 GB, free: 3.562 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.01004, allocations: 458.6 kB / 0.5641 GB, free: 3.113 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.01013, allocations: 100 kB / 0.5642 GB, free: 3.016 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.01041, allocations: 239.8 kB / 0.5644 GB, free: 2.781 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.01054, allocations: 227.1 kB / 0.5646 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.01081, allocations: 330.9 kB / 0.565 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.0117, allocations: 1.316 MB / 0.5662 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01171, allocations: 4 kB / 0.5662 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01171, allocations: 3.938 kB / 0.5662 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.01172, allocations: 0 / 0.5662 GB, free: 0.9062 MB / 490.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.002862/0.01458, allocations: 1.71 MB / 0.5679 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.01462, allocations: 8.031 kB / 0.5679 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.845e-05/0.01471, allocations: 94.7 kB / 0.568 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.01631, allocations: 0.5267 MB / 0.5685 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.01695, allocations: 0.5821 MB / 0.5691 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.01709, allocations: 201.4 kB / 0.5693 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.01717, allocations: 55.95 kB / 0.5693 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.018, allocations: 0.6506 MB / 0.57 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01801, allocations: 4 kB / 0.57 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.01806, allocations: 20 kB / 0.57 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.01807, allocations: 12 kB / 0.57 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/0.01886, allocations: 0.6247 MB / 0.5706 GB, free: 12.32 MB / 0.4948 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.002917/0.02178, allocations: 2.096 MB / 0.5727 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005796/0.02758, allocations: 2.607 MB / 0.5752 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/0.02815, allocations: 402.2 kB / 0.5756 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.0282, allocations: 8.5 kB / 0.5756 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.02823, allocations: 43 kB / 0.5756 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 3.076e-06/0.02823, allocations: 4 kB / 0.5756 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.006638/0.03487, allocations: 3.284 MB / 0.5789 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.0349, allocations: 55.91 kB / 0.5789 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007832/0.03569, allocations: 0.774 MB / 0.5797 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.03575, allocations: 37.64 kB / 0.5797 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.03593, allocations: 361.1 kB / 0.58 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.0361, allocations: 226.1 kB / 0.5803 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.0363, allocations: 166.6 kB / 0.5804 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.03642, allocations: 394.7 kB / 0.5808 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/0.03705, allocations: 0.4978 MB / 0.5813 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.03773, allocations: 0.5875 MB / 0.5819 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008104/0.04584, allocations: 3.682 MB / 0.5855 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.04584, allocations: 0 / 0.5855 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004213/0.05006, allocations: 2.38 MB / 0.5878 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.05008, allocations: 8 kB / 0.5878 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.0501, allocations: 3.984 kB / 0.5878 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.05232, allocations: 1.04 MB / 0.5888 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.05274, allocations: 151.7 kB / 0.5889 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/0.05933, allocations: 4.86 MB / 0.5937 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.06002, allocations: 119.4 kB / 0.5938 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.06007, allocations: 31.98 kB / 0.5938 GB, free: 4.188 MB / 0.5105 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.0004092/0.06048, allocations: 221.2 kB / 0.594 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.06059, allocations: 95.38 kB / 0.5941 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.0638, allocations: 1.92 MB / 0.596 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.0638, allocations: 12 kB / 0.596 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.06381, allocations: 4 kB / 0.596 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.06381, allocations: 3.984 kB / 0.596 GB, free: 1.91 MB / 0.5105 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.1985/0.2623, allocations: 2.679 MB / 0.5987 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.2623, allocations: 3.75 kB / 0.5987 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.2627, allocations: 63.34 kB / 0.5987 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/0.2646, allocations: 0.9329 MB / 0.5996 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/0.2647, allocations: 9.406 kB / 0.5996 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00464/0.2693, allocations: 3.922 MB / 0.6035 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2693, allocations: 6.797 kB / 0.6035 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/0.2733, allocations: 2.501 MB / 0.6059 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.2736, allocations: 112.2 kB / 0.606 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/0.2736, allocations: 15.03 kB / 0.606 GB, free: 91.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.2741, allocations: 50.3 kB / 0.6061 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.2744, allocations: 128.8 kB / 0.6062 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.2744, allocations: 14.06 kB / 0.6062 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005058/0.2749, allocations: 0.5201 MB / 0.6067 GB, free: 90.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2749, allocations: 0 / 0.6067 GB, free: 90.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000847/0.2758, allocations: 301 kB / 0.607 GB, free: 90.82 MB / 0.5105 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.004252/0.28, allocations: 3.068 MB / 0.61 GB, free: 89.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002913/0.2829, allocations: 1.492 MB / 0.6115 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2829, allocations: 0 / 0.6115 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.2845, allocations: 0.886 MB / 0.6123 GB, free: 88.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.2851, allocations: 64.05 kB / 0.6124 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.2991, allocations: 9.764 MB / 0.6219 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.2994, allocations: 348.5 kB / 0.6223 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.2997, allocations: 66.55 kB / 0.6223 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.3, allocations: 287.9 kB / 0.6226 GB, free: 83.83 MB / 0.5105 GB Notification: Performance of SimCode: time 2.215e-06/0.3, allocations: 4 kB / 0.6226 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03827/0.3383, allocations: 23.88 MB / 0.6459 GB, free: 72.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.277, allocations: 2.344 kB / 0.6459 GB, free: 72.25 MB / 0.5105 GB " [Timeout remaining time 652] (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: 12.023380422964692] Failed to read output from testmodel.py, exit status != 0: 8.368449080735445 8.376142532 8.361713315 Calling exit ...