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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.0009901/0.0009902, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009847, allocations: 100.3 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4391/0.4391, allocations: 78.95 MB / 410.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.551e-05/1.555e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 69.51 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.4852, allocations: 97.22 MB / 0.6375 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4854, allocations: 77.34 kB / 0.6375 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05342/0.5388, allocations: 20.47 MB / 0.6575 GB, free: 12.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5389, allocations: 0 / 0.6575 GB, free: 12.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.948e-05/0.5389, allocations: 16 kB / 0.6576 GB, free: 12.26 MB / 474.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.003025/0.542, allocations: 1.184 MB / 0.6587 GB, free: 11.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.542, allocations: 12.03 kB / 0.6587 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.5443, allocations: 379.2 kB / 0.6591 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5454, allocations: 0.5587 MB / 0.6596 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.5456, allocations: 138.3 kB / 0.6598 GB, free: 9.895 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5457, allocations: 28 kB / 0.6598 GB, free: 9.867 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009371/0.5467, allocations: 0.5145 MB / 0.6603 GB, free: 9.352 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.5476, allocations: 0.5076 MB / 0.6608 GB, free: 8.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5477, allocations: 0.6875 kB / 0.6608 GB, free: 8.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/0.5477, allocations: 0 / 0.6608 GB, free: 8.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.5477, allocations: 12 kB / 0.6608 GB, free: 8.828 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004527/0.5523, allocations: 2.516 MB / 0.6633 GB, free: 6.215 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/0.5648, allocations: 3.552 MB / 0.6667 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.5653, allocations: 344.1 kB / 0.667 GB, free: 2.281 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/0.5654, allocations: 12.55 kB / 0.6671 GB, free: 2.266 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.5655, allocations: 39.12 kB / 0.6671 GB, free: 2.219 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 1.703e-06/0.5655, allocations: 0 / 0.6671 GB, free: 2.219 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.005187/0.5706, allocations: 1.831 MB / 0.6689 GB, free: 380 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.5707, allocations: 61 kB / 0.6689 GB, free: 308 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.5716, allocations: 0.5977 MB / 0.6695 GB, free: 15.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/0.5717, allocations: 25.7 kB / 0.6696 GB, free: 15.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.5719, allocations: 368.6 kB / 0.6699 GB, free: 15.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.5721, allocations: 201 kB / 0.6701 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.5722, allocations: 0 / 0.6701 GB, free: 15.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5723, allocations: 326 kB / 0.6704 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.5728, allocations: 289.6 kB / 0.6707 GB, free: 14.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.5733, allocations: 373.6 kB / 0.671 GB, free: 14.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.5738, allocations: 318.7 kB / 0.6713 GB, free: 13.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5738, allocations: 0 / 0.6713 GB, free: 13.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005616/0.5794, allocations: 2.006 MB / 0.6733 GB, free: 11.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5795, allocations: 4 kB / 0.6733 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5795, allocations: 4 kB / 0.6733 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003637/0.5831, allocations: 0.9649 MB / 0.6743 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.5836, allocations: 87.84 kB / 0.6743 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008012/0.5916, allocations: 5.219 MB / 0.6794 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/0.5925, allocations: 95.47 kB / 0.6795 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.5926, allocations: 23.98 kB / 0.6795 GB, free: 5.137 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "d-axis sub-transient voltage" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.5929, allocations: 123.1 kB / 0.6797 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005208/0.5981, allocations: 1.828 MB / 0.6814 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.5984, allocations: 87 kB / 0.6815 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/0.6037, allocations: 1.895 MB / 0.6834 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.6037, allocations: 4 kB / 0.6834 GB, free: 1.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.6037, allocations: 4 kB / 0.6834 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.6037, allocations: 3.984 kB / 0.6834 GB, free: 1.152 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006565/0.6103, allocations: 2.912 MB / 0.6862 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6103, allocations: 5.688 kB / 0.6862 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.6108, allocations: 64.83 kB / 0.6863 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.6135, allocations: 0.8508 MB / 0.6871 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.6136, allocations: 0 / 0.6871 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005633/0.6192, allocations: 3.275 MB / 0.6903 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6192, allocations: 0 / 0.6903 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005878/0.6251, allocations: 2.382 MB / 0.6927 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.6255, allocations: 180.1 kB / 0.6928 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.6257, allocations: 0 / 0.6928 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/0.6265, allocations: 65.44 kB / 0.6929 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/0.6269, allocations: 120.3 kB / 0.693 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.6269, allocations: 12 kB / 0.693 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006952/0.6276, allocations: 475.1 kB / 0.6935 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6276, allocations: 4 kB / 0.6935 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009912/0.6286, allocations: 259.6 kB / 0.6937 GB, free: 6.332 MB / 0.4948 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00627/0.6349, allocations: 2.954 MB / 0.6966 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003455/0.6384, allocations: 1.51 MB / 0.6981 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6384, allocations: 0 / 0.6981 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.6409, allocations: 1.055 MB / 0.6991 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.6416, allocations: 51.25 kB / 0.6992 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.6446, allocations: 1.291 MB / 0.7004 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.6452, allocations: 0.961 MB / 0.7014 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002832/0.6455, allocations: 48.55 kB / 0.7014 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004204/0.6459, allocations: 276.6 kB / 0.7017 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of SimCode: time 7.52e-07/0.6459, allocations: 4 kB / 0.7017 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04437/0.6903, allocations: 18.03 MB / 0.7193 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.6906, allocations: 111.3 kB / 0.7194 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.017, allocations: 0 / 0.7194 GB, free: 11.93 MB / 0.5261 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/linux/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)