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.001002/0.001002, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007972/0.0007971, allocations: 85.3 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4025/0.4025, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.495e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2924, allocations: 69.5 MB / 0.5492 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3989, allocations: 97.9 MB / 0.6448 GB, free: 1.676 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3992, allocations: 67.97 kB / 0.6449 GB, free: 1.609 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05191/0.4511, allocations: 20.73 MB / 0.6651 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4511, allocations: 0 / 0.6651 GB, free: 12.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.4512, allocations: 12 kB / 0.6651 GB, free: 12.7 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.002506/0.4537, allocations: 1.188 MB / 0.6663 GB, free: 11.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4537, allocations: 15.97 kB / 0.6663 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.4539, allocations: 94.52 kB / 0.6664 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.4559, allocations: 378.5 kB / 0.6668 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.4566, allocations: 0.558 MB / 0.6673 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.4568, allocations: 146.7 kB / 0.6674 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.4569, allocations: 52.33 kB / 0.6675 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.4579, allocations: 0.5765 MB / 0.6681 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4579, allocations: 0 / 0.6681 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.458, allocations: 20 kB / 0.6681 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.458, allocations: 12 kB / 0.6681 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.4588, allocations: 0.5389 MB / 0.6686 GB, free: 9.02 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 preOpt removeSimpleEquations (simulation): time 0.004021/0.4629, allocations: 2.6 MB / 0.6711 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.475, allocations: 3.571 MB / 0.6746 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.4756, allocations: 366.4 kB / 0.675 GB, free: 2.328 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.419e-05/0.4757, allocations: 8.562 kB / 0.675 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4757, allocations: 43.08 kB / 0.675 GB, free: 2.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.315e-06/0.4757, allocations: 3.938 kB / 0.675 GB, free: 2.266 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005264/0.481, allocations: 1.874 MB / 0.6769 GB, free: 388 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.4811, allocations: 55.97 kB / 0.6769 GB, free: 316 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2445/0.7256, allocations: 0.6407 MB / 0.6775 GB, free: 109.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.7258, allocations: 35.14 kB / 0.6776 GB, free: 109.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.7261, allocations: 367.8 kB / 0.6779 GB, free: 109.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.7263, allocations: 205.7 kB / 0.6781 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.7263, allocations: 12.03 kB / 0.6781 GB, free: 109.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.7264, allocations: 329.5 kB / 0.6785 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.7269, allocations: 301.2 kB / 0.6787 GB, free: 108.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.7275, allocations: 378.7 kB / 0.6791 GB, free: 108.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.728, allocations: 341.5 kB / 0.6794 GB, free: 108.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.728, allocations: 0 / 0.6794 GB, free: 108.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005942/0.734, allocations: 2.053 MB / 0.6814 GB, free: 108.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.734, allocations: 7.266 kB / 0.6814 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.734, allocations: 3.875 kB / 0.6814 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003748/0.7378, allocations: 0.9871 MB / 0.6824 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.7383, allocations: 84.44 kB / 0.6825 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00817/0.7465, allocations: 5.403 MB / 0.6878 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/0.7474, allocations: 108.1 kB / 0.6879 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.7474, allocations: 20.92 kB / 0.6879 GB, free: 106 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.0001703/0.7476, allocations: 141.5 kB / 0.688 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.7477, allocations: 88.55 kB / 0.6881 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/0.7524, allocations: 1.946 MB / 0.69 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7524, allocations: 9.781 kB / 0.69 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7524, allocations: 3.812 kB / 0.69 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7524, allocations: 6.984 kB / 0.69 GB, free: 105.6 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.005388/0.7578, allocations: 3.031 MB / 0.693 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.7578, allocations: 4 kB / 0.693 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.7582, allocations: 63.89 kB / 0.693 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.7606, allocations: 0.8568 MB / 0.6939 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/0.7607, allocations: 11.97 kB / 0.6939 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004674/0.7654, allocations: 3.354 MB / 0.6972 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7654, allocations: 1.594 kB / 0.6972 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005057/0.7705, allocations: 2.432 MB / 0.6995 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.7707, allocations: 177.6 kB / 0.6997 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-05/0.7708, allocations: 22.61 kB / 0.6997 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006835/0.7714, allocations: 71.62 kB / 0.6998 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.7717, allocations: 117.7 kB / 0.6999 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.7718, allocations: 15.33 kB / 0.6999 GB, free: 100.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004976/0.7723, allocations: 0.513 MB / 0.7004 GB, free: 100.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7723, allocations: 0 / 0.7004 GB, free: 100.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007093/0.773, allocations: 286.1 kB / 0.7007 GB, free: 100.6 MB / 490.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 () * 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.005253/0.7783, allocations: 3.015 MB / 0.7037 GB, free: 99.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.7812, allocations: 1.56 MB / 0.7052 GB, free: 98.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7812, allocations: 4.062 kB / 0.7052 GB, free: 98.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.7833, allocations: 1.076 MB / 0.7062 GB, free: 97.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.7837, allocations: 60.7 kB / 0.7063 GB, free: 97.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.7857, allocations: 1.34 MB / 0.7076 GB, free: 96.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.7859, allocations: 0.9595 MB / 0.7085 GB, free: 95.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.7862, allocations: 54.23 kB / 0.7086 GB, free: 95.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.7865, allocations: 280.4 kB / 0.7089 GB, free: 94.9 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.7865, allocations: 0 / 0.7089 GB, free: 94.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.815, allocations: 19.56 MB / 0.728 GB, free: 78.58 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001224/0.8152, allocations: 178.7 kB / 0.7281 GB, free: 78.35 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.133, allocations: 3.938 kB / 0.7281 GB, free: 78.34 MB / 490.7 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)