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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008027/0.008027, allocations: 100.8 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 239.4 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 191.7 kB / 289.7 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5371/0.5371, allocations: 91.91 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 81.11 kB / 0.5722 GB, free: 33.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1555, allocations: 71.28 MB / 0.6418 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006868/0.1624, allocations: 4.917 MB / 0.6466 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004105/0.1666, allocations: 1.591 MB / 0.6482 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.1679, allocations: 12 kB / 0.6482 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008744/0.1688, allocations: 162.7 kB / 0.6484 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.1716, allocations: 0.6708 MB / 0.649 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1727, allocations: 425.5 kB / 0.6494 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.1745, allocations: 1.09 MB / 0.6505 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.175, allocations: 218 kB / 0.6507 GB, free: 11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008857/0.1759, allocations: 446.2 kB / 0.6511 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.1769, allocations: 0.5562 MB / 0.6517 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.1772, allocations: 100 kB / 0.6518 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.1779, allocations: 235.8 kB / 0.652 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.1783, allocations: 227.1 kB / 0.6522 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007286/0.179, allocations: 481.4 kB / 0.6527 GB, free: 8.984 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.1809, allocations: 1.253 MB / 0.6539 GB, free: 7.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1809, allocations: 0 / 0.6539 GB, free: 7.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.999e-06/0.1809, allocations: 4 kB / 0.6539 GB, free: 7.727 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.1809, allocations: 7.875 kB / 0.6539 GB, free: 7.719 MB / 462.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.006381/0.1873, allocations: 1.745 MB / 0.6556 GB, free: 5.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.1874, allocations: 16.02 kB / 0.6556 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.1876, allocations: 86.72 kB / 0.6557 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.1911, allocations: 0.5223 MB / 0.6562 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.1924, allocations: 0.647 MB / 0.6568 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.1927, allocations: 142.1 kB / 0.657 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.1929, allocations: 48 kB / 0.657 GB, free: 4.398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1942, allocations: 0.6623 MB / 0.6577 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1943, allocations: 0 / 0.6577 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.1944, allocations: 20 kB / 0.6577 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.1944, allocations: 19.94 kB / 0.6577 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.1956, allocations: 0.6325 MB / 0.6583 GB, free: 3.055 MB / 462.1 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.004829/0.2005, allocations: 2.619 MB / 0.6609 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.2117, allocations: 2.815 MB / 0.6636 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2128, allocations: 442.4 kB / 0.6641 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.2129, allocations: 12.55 kB / 0.6641 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2129, allocations: 43.11 kB / 0.6641 GB, free: 12.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.795e-06/0.2129, allocations: 0 / 0.6641 GB, free: 12.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01244/0.2254, allocations: 3.527 MB / 0.6676 GB, free: 9.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.2255, allocations: 63.91 kB / 0.6676 GB, free: 9.289 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.2268, allocations: 0.7662 MB / 0.6684 GB, free: 8.512 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.227, allocations: 33.7 kB / 0.6684 GB, free: 8.473 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.2273, allocations: 352.6 kB / 0.6687 GB, free: 8.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.2276, allocations: 213 kB / 0.6689 GB, free: 7.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/0.228, allocations: 178.4 kB / 0.6691 GB, free: 7.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2282, allocations: 390.7 kB / 0.6695 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000974/0.2292, allocations: 0.4939 MB / 0.67 GB, free: 6.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.2303, allocations: 0.5992 MB / 0.6705 GB, free: 6.223 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.2458, allocations: 3.553 MB / 0.674 GB, free: 2.645 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.2459, allocations: 0 / 0.674 GB, free: 2.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00742/0.2533, allocations: 2.388 MB / 0.6763 GB, free: 244 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.2534, allocations: 13.09 kB / 0.6764 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2534, allocations: 0 / 0.6764 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004265/0.2577, allocations: 1.053 MB / 0.6774 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/0.2587, allocations: 147.8 kB / 0.6775 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.2695, allocations: 5.063 MB / 0.6825 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.271, allocations: 115.2 kB / 0.6826 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.2712, allocations: 31.98 kB / 0.6826 GB, free: 9.66 MB / 494.1 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.0006348/0.2719, allocations: 218.2 kB / 0.6828 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.2722, allocations: 82.91 kB / 0.6829 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0057/0.2779, allocations: 1.937 MB / 0.6848 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.2779, allocations: 4 kB / 0.6848 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.2779, allocations: 4 kB / 0.6848 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.278, allocations: 7.984 kB / 0.6848 GB, free: 7.383 MB / 494.1 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.007373/0.2853, allocations: 3.048 MB / 0.6878 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.2854, allocations: 0 / 0.6878 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.2858, allocations: 63.91 kB / 0.6878 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/0.2891, allocations: 0.9402 MB / 0.6888 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.2892, allocations: 12 kB / 0.6888 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008084/0.2973, allocations: 4.105 MB / 0.6928 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2973, allocations: 3.938 kB / 0.6928 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006856/0.3042, allocations: 2.515 MB / 0.6952 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.3046, allocations: 176 kB / 0.6954 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.3049, allocations: 12 kB / 0.6954 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008331/0.3057, allocations: 51.94 kB / 0.6955 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003793/0.3061, allocations: 112.4 kB / 0.6956 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.3062, allocations: 16 kB / 0.6956 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007955/0.307, allocations: 0.5264 MB / 0.6961 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.307, allocations: 0 / 0.6961 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001137/0.3082, allocations: 299.8 kB / 0.6964 GB, free: 11.23 MB / 0.4981 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.007209/0.3154, allocations: 3.086 MB / 0.6994 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004542/0.3199, allocations: 1.723 MB / 0.7011 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.32, allocations: 448 / 0.7011 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002788/0.3228, allocations: 1.083 MB / 0.7021 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.3236, allocations: 61.33 kB / 0.7022 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/0.3468, allocations: 9.919 MB / 0.7119 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.3476, allocations: 0.946 MB / 0.7128 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004161/0.348, allocations: 65.14 kB / 0.7129 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.3486, allocations: 287.3 kB / 0.7132 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.3486, allocations: 0 / 0.7132 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05547/0.4041, allocations: 21.54 MB / 0.7342 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.39, allocations: 15.12 kB / 0.7342 GB, free: 4.258 MB / 0.5294 GB (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 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)