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.0008972/0.0008968, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.442/1.442, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001126/0.001126, allocations: 188.1 kB / 290.2 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4497/0.4497, allocations: 79.45 MB / 420.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 8 kB / 0.4891 GB, free: 5.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.337, allocations: 69.51 MB / 0.5569 GB, free: 37.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003591/0.3407, allocations: 4.261 MB / 0.5611 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3432, allocations: 1.569 MB / 0.5626 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.3436, allocations: 7.812 kB / 0.5626 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.3439, allocations: 120.2 kB / 0.5628 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.3451, allocations: 0.5615 MB / 0.5633 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.3458, allocations: 333.7 kB / 0.5636 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.3466, allocations: 0.672 MB / 0.5643 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.3469, allocations: 176.2 kB / 0.5645 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.3473, allocations: 372.2 kB / 0.5648 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004729/0.3478, allocations: 486.9 kB / 0.5653 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.3479, allocations: 46.94 kB / 0.5653 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.3482, allocations: 152.3 kB / 0.5655 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3484, allocations: 168.7 kB / 0.5656 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3485, allocations: 163.7 kB / 0.5658 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.3492, allocations: 0.9263 MB / 0.5667 GB, free: 36.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.3492, allocations: 1.281 kB / 0.5667 GB, free: 36.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3492, allocations: 0 / 0.5667 GB, free: 36.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3492, allocations: 0 / 0.5667 GB, free: 36.76 MB / 430.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.004608/0.3538, allocations: 1.633 MB / 0.5683 GB, free: 36.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3539, allocations: 9.75 kB / 0.5683 GB, free: 36.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.354, allocations: 95.2 kB / 0.5684 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.3572, allocations: 0.5225 MB / 0.5689 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.3581, allocations: 0.6169 MB / 0.5695 GB, free: 35.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.3583, allocations: 149.2 kB / 0.5696 GB, free: 35.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.3584, allocations: 50.44 kB / 0.5697 GB, free: 35.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3597, allocations: 0.6942 MB / 0.5704 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3597, allocations: 0.6562 kB / 0.5704 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.3597, allocations: 21 kB / 0.5704 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3598, allocations: 11.47 kB / 0.5704 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3609, allocations: 0.6638 MB / 0.571 GB, free: 35.56 MB / 430.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.004357/0.3653, allocations: 2.784 MB / 0.5738 GB, free: 34.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/0.3778, allocations: 3.76 MB / 0.5774 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.378, allocations: 16.66 kB / 0.5774 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.378, allocations: 45.98 kB / 0.5775 GB, free: 33.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.378, allocations: 0 / 0.5775 GB, free: 33.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01255/0.3906, allocations: 4.214 MB / 0.5816 GB, free: 32.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3906, allocations: 62.06 kB / 0.5817 GB, free: 32.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.3918, allocations: 0.7555 MB / 0.5824 GB, free: 31.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/0.3919, allocations: 39.86 kB / 0.5824 GB, free: 31.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.3921, allocations: 347 kB / 0.5828 GB, free: 31.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.3923, allocations: 212.2 kB / 0.583 GB, free: 31.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.3924, allocations: 19.53 kB / 0.583 GB, free: 31.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3925, allocations: 394.5 kB / 0.5834 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.3935, allocations: 0.5243 MB / 0.5839 GB, free: 30.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.3945, allocations: 0.6349 MB / 0.5845 GB, free: 30.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3956, allocations: 0.5796 MB / 0.5851 GB, free: 30.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3956, allocations: 1 kB / 0.5851 GB, free: 30.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007385/0.403, allocations: 2.723 MB / 0.5877 GB, free: 29.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.403, allocations: 6.812 kB / 0.5877 GB, free: 29.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.403, allocations: 4.812 kB / 0.5877 GB, free: 29.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004424/0.4075, allocations: 1.216 MB / 0.5889 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/0.4083, allocations: 148.7 kB / 0.5891 GB, free: 29.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.4196, allocations: 6.55 MB / 0.5955 GB, free: 25.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.4209, allocations: 133.6 kB / 0.5956 GB, free: 25.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.4211, allocations: 26.22 kB / 0.5956 GB, free: 25.26 MB / 430.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.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * 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.0004488/0.4215, allocations: 227 kB / 0.5958 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.4218, allocations: 77.56 kB / 0.5959 GB, free: 25.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006445/0.4282, allocations: 2.285 MB / 0.5981 GB, free: 24.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4282, allocations: 10.22 kB / 0.5981 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.4283, allocations: 5.141 kB / 0.5982 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.4283, allocations: 4.734 kB / 0.5982 GB, free: 24.41 MB / 430.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.008129/0.4364, allocations: 3.387 MB / 0.6015 GB, free: 23.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4365, allocations: 1.812 kB / 0.6015 GB, free: 23.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.437, allocations: 64.52 kB / 0.6015 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003796/0.4408, allocations: 1.085 MB / 0.6026 GB, free: 22.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.729e-05/0.4409, allocations: 15.23 kB / 0.6026 GB, free: 22.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008811/0.4497, allocations: 4.305 MB / 0.6068 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4497, allocations: 0 / 0.6068 GB, free: 20.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007867/0.4576, allocations: 2.898 MB / 0.6096 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.458, allocations: 189.1 kB / 0.6098 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.4582, allocations: 11.53 kB / 0.6098 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/0.4591, allocations: 69.36 kB / 0.6099 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/0.4595, allocations: 120.2 kB / 0.61 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.4595, allocations: 14.42 kB / 0.61 GB, free: 19.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00078/0.4603, allocations: 0.5152 MB / 0.6105 GB, free: 19.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4603, allocations: 4 kB / 0.6105 GB, free: 19.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001143/0.4615, allocations: 296.2 kB / 0.6108 GB, free: 19.14 MB / 430.1 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 (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.008121/0.4696, allocations: 3.472 MB / 0.6142 GB, free: 16.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004528/0.4742, allocations: 1.995 MB / 0.6162 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4742, allocations: 0 / 0.6162 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002752/0.477, allocations: 1.208 MB / 0.6173 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.4776, allocations: 47.75 kB / 0.6174 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.4812, allocations: 3.282 MB / 0.6206 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.4816, allocations: 0.9556 MB / 0.6215 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.4819, allocations: 72.56 kB / 0.6216 GB, free: 9.879 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.4823, allocations: 280.8 kB / 0.6219 GB, free: 9.617 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4823, allocations: 4 kB / 0.6219 GB, free: 9.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.5165, allocations: 19.83 MB / 0.6412 GB, free: 6.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.5167, allocations: 189.4 kB / 0.6414 GB, free: 5.918 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.622, allocations: 0 / 0.6414 GB, free: 5.918 MB / 446.1 MB (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) Environment - environmentSimulation: