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.0009953/0.0009953, 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 1.111/1.111, allocations: 177.1 MB / 199.4 MB, free: 5.922 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.003686/0.003686, allocations: 160.6 kB / 256 MB, free: 13.32 MB / 250.7 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.2624/0.2624, allocations: 80.36 MB / 392.7 MB, free: 2.379 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 0.5549 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.622e-05/5.914e-05, allocations: 10.11 kB / 0.5549 GB, free: 12.23 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006345/0.006404, allocations: 4.392 MB / 0.5592 GB, free: 7.812 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.009859, allocations: 1.564 MB / 0.5607 GB, free: 6.246 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/0.01032, allocations: 4 kB / 0.5608 GB, free: 6.242 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.01081, allocations: 166.5 kB / 0.5609 GB, free: 6.078 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.01268, allocations: 0.6784 MB / 0.5616 GB, free: 5.398 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009817/0.01366, allocations: 417.6 kB / 0.562 GB, free: 4.992 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.01504, allocations: 1.109 MB / 0.5631 GB, free: 3.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.01541, allocations: 138.5 kB / 0.5632 GB, free: 3.727 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006845/0.0161, allocations: 0.639 MB / 0.5638 GB, free: 3.086 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.01655, allocations: 454.6 kB / 0.5642 GB, free: 2.641 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.01665, allocations: 96 kB / 0.5643 GB, free: 2.547 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.01705, allocations: 243.8 kB / 0.5646 GB, free: 2.309 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.01718, allocations: 231 kB / 0.5648 GB, free: 2.082 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.01744, allocations: 334.9 kB / 0.5651 GB, free: 1.754 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.01892, allocations: 1.316 MB / 0.5664 GB, free: 444 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01893, allocations: 4 kB / 0.5664 GB, free: 440 kB / 442.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.01893, allocations: 0 / 0.5664 GB, free: 440 kB / 442.7 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.01896, allocations: 0 / 0.5664 GB, free: 440 kB / 442.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.3047/0.3237, allocations: 1.708 MB / 0.5681 GB, free: 24.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.221e-05/0.3238, allocations: 10.08 kB / 0.5681 GB, free: 24.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.3239, allocations: 92.14 kB / 0.5682 GB, free: 24.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.326, allocations: 0.5229 MB / 0.5687 GB, free: 24.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.3271, allocations: 0.59 MB / 0.5693 GB, free: 24.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.3273, allocations: 190.4 kB / 0.5694 GB, free: 23.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.3274, allocations: 54.5 kB / 0.5695 GB, free: 23.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.3288, allocations: 0.6555 MB / 0.5701 GB, free: 23.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3288, allocations: 0 / 0.5701 GB, free: 23.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.3289, allocations: 23.48 kB / 0.5701 GB, free: 23.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.3289, allocations: 11.88 kB / 0.5702 GB, free: 23.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.33, allocations: 0.6259 MB / 0.5708 GB, free: 23.39 MB / 442.7 MB 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.003487/0.3335, allocations: 2.094 MB / 0.5728 GB, free: 22.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007267/0.3407, allocations: 2.612 MB / 0.5754 GB, free: 21.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007457/0.3415, allocations: 402.2 kB / 0.5757 GB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.3415, allocations: 11.48 kB / 0.5758 GB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3416, allocations: 39.78 kB / 0.5758 GB, free: 21.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 2.425e-06/0.3416, allocations: 0 / 0.5758 GB, free: 21.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.008855/0.3504, allocations: 3.286 MB / 0.579 GB, free: 21.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.3505, allocations: 61.47 kB / 0.5791 GB, free: 21.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.352, allocations: 0.7712 MB / 0.5798 GB, free: 20.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.3521, allocations: 36.83 kB / 0.5799 GB, free: 20.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3523, allocations: 362.7 kB / 0.5802 GB, free: 20.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.3525, allocations: 222.7 kB / 0.5804 GB, free: 20.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.3527, allocations: 165.4 kB / 0.5806 GB, free: 20.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.3528, allocations: 392.8 kB / 0.5809 GB, free: 19.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009737/0.3538, allocations: 0.4973 MB / 0.5814 GB, free: 19.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009803/0.3548, allocations: 0.5934 MB / 0.582 GB, free: 19.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.365, allocations: 3.674 MB / 0.5856 GB, free: 18.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.365, allocations: 0 / 0.5856 GB, free: 18.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004976/0.37, allocations: 2.382 MB / 0.5879 GB, free: 16.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.3701, allocations: 8.531 kB / 0.5879 GB, free: 16.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3701, allocations: 6.438 kB / 0.5879 GB, free: 16.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/0.3728, allocations: 1.049 MB / 0.589 GB, free: 16.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.3733, allocations: 147 kB / 0.5891 GB, free: 16.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00732/0.3807, allocations: 4.864 MB / 0.5939 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.3817, allocations: 115.5 kB / 0.594 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.3818, allocations: 29.05 kB / 0.594 GB, free: 12.99 MB / 442.7 MB 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.0005105/0.3823, allocations: 223.8 kB / 0.5942 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3824, allocations: 82.92 kB / 0.5943 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.3858, allocations: 1.921 MB / 0.5962 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.3858, allocations: 6.875 kB / 0.5962 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3858, allocations: 8.062 kB / 0.5962 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3858, allocations: 3.984 kB / 0.5962 GB, free: 11.72 MB / 442.7 MB 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.004376/0.3902, allocations: 2.689 MB / 0.5988 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3902, allocations: 0 / 0.5988 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.3905, allocations: 67.62 kB / 0.5989 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.3921, allocations: 0.935 MB / 0.5998 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.3922, allocations: 12 kB / 0.5998 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.3966, allocations: 3.922 MB / 0.6036 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3966, allocations: 4 kB / 0.6036 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.4005, allocations: 2.498 MB / 0.6061 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.4009, allocations: 111.9 kB / 0.6062 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/0.401, allocations: 12 kB / 0.6062 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.4015, allocations: 59.31 kB / 0.6062 GB, free: 1.949 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.4017, allocations: 124.3 kB / 0.6064 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.4017, allocations: 12 kB / 0.6064 GB, free: 1.816 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.4022, allocations: 0.5225 MB / 0.6069 GB, free: 1.301 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4022, allocations: 0 / 0.6069 GB, free: 1.301 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008859/0.4031, allocations: 300 kB / 0.6072 GB, free: 1.008 MB / 442.7 MB 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.00442/0.4075, allocations: 3.079 MB / 0.6102 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002933/0.4105, allocations: 1.493 MB / 0.6116 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4105, allocations: 0 / 0.6116 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.412, allocations: 0.9007 MB / 0.6125 GB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.4126, allocations: 55 kB / 0.6126 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.4271, allocations: 9.75 MB / 0.6221 GB, free: 1.488 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.4274, allocations: 348.7 kB / 0.6224 GB, free: 1.117 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000298/0.4277, allocations: 69.22 kB / 0.6225 GB, free: 1.051 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.428, allocations: 288.4 kB / 0.6228 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of SimCode: time 2.234e-06/0.428, allocations: 0 / 0.6228 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.4675, allocations: 23.87 MB / 0.6461 GB, free: 9.148 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.155, allocations: 15.97 kB / 0.6461 GB, free: 9.133 MB / 490.7 MB " [Timeout remaining time 652] (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: 12.320830405689776] Failed to read output from testmodel.py, exit status != 0: 8.248418007045984 8.25498041 8.234197198 Calling exit ...