Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_release_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.001/0.0009997, 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.272/1.272, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008304/0.0008303, allocations: 95.38 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4776/0.4776, allocations: 78.09 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.246e-05, allocations: 0 / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.328, allocations: 69.33 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.4484, allocations: 97.22 MB / 0.643 GB, free: 3.316 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4486, allocations: 75.95 kB / 0.6431 GB, free: 3.242 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05568/0.5043, allocations: 20.54 MB / 0.6632 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5044, allocations: 0 / 0.6632 GB, free: 14.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.09e-05/0.5044, allocations: 16 kB / 0.6632 GB, free: 14.52 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.002934/0.5074, allocations: 1.18 MB / 0.6643 GB, free: 13.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5074, allocations: 11.97 kB / 0.6643 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.5076, allocations: 94.52 kB / 0.6644 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.5099, allocations: 378.5 kB / 0.6648 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009875/0.5109, allocations: 0.5619 MB / 0.6653 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.5111, allocations: 150.7 kB / 0.6655 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.5112, allocations: 48.34 kB / 0.6655 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.5122, allocations: 0.5726 MB / 0.6661 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.5123, allocations: 0 / 0.6661 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.5123, allocations: 16 kB / 0.6661 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.5124, allocations: 15.94 kB / 0.6661 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009471/0.5133, allocations: 0.5506 MB / 0.6666 GB, free: 10.84 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.004488/0.5178, allocations: 2.6 MB / 0.6692 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.5309, allocations: 3.571 MB / 0.6727 GB, free: 4.516 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006959/0.5316, allocations: 362.4 kB / 0.673 GB, free: 4.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.389e-05/0.5317, allocations: 4.562 kB / 0.673 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5318, allocations: 47.02 kB / 0.6731 GB, free: 4.098 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.464e-06/0.5318, allocations: 3.938 kB / 0.6731 GB, free: 4.094 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005692/0.5375, allocations: 1.866 MB / 0.6749 GB, free: 2.211 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.5375, allocations: 63.91 kB / 0.675 GB, free: 2.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.5386, allocations: 0.6485 MB / 0.6756 GB, free: 1.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.5387, allocations: 33.7 kB / 0.6756 GB, free: 1.441 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.539, allocations: 368.7 kB / 0.676 GB, free: 1.074 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.5392, allocations: 205 kB / 0.6762 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.5392, allocations: 12 kB / 0.6762 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5393, allocations: 334 kB / 0.6765 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.5399, allocations: 297.6 kB / 0.6768 GB, free: 244 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.279/0.8189, allocations: 375.4 kB / 0.6771 GB, free: 109.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.8197, allocations: 334.5 kB / 0.6775 GB, free: 109.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.8197, allocations: 0.5 kB / 0.6775 GB, free: 109.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006456/0.8262, allocations: 2.055 MB / 0.6795 GB, free: 109.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.8262, allocations: 6.562 kB / 0.6795 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8262, allocations: 4.469 kB / 0.6795 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/0.8301, allocations: 0.9751 MB / 0.6804 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.8306, allocations: 90.44 kB / 0.6805 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008362/0.839, allocations: 5.402 MB / 0.6858 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.8401, allocations: 111.3 kB / 0.6859 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.8402, allocations: 21.48 kB / 0.6859 GB, free: 106.9 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.0001963/0.8404, allocations: 138.4 kB / 0.686 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.8406, allocations: 79.44 kB / 0.6861 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005387/0.846, allocations: 1.955 MB / 0.688 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.846, allocations: 7.062 kB / 0.688 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.846, allocations: 9.781 kB / 0.688 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.846, allocations: 3.656 kB / 0.6881 GB, free: 106.7 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.005836/0.8518, allocations: 3.036 MB / 0.691 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.8519, allocations: 6.281 kB / 0.691 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.8523, allocations: 65.02 kB / 0.6911 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.8548, allocations: 0.8484 MB / 0.6919 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.8548, allocations: 11.34 kB / 0.6919 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/0.8598, allocations: 3.357 MB / 0.6952 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8598, allocations: 0 / 0.6952 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.8653, allocations: 2.433 MB / 0.6976 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.8655, allocations: 182.3 kB / 0.6978 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8656, allocations: 11.61 kB / 0.6978 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/0.8663, allocations: 73.16 kB / 0.6978 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/0.8666, allocations: 118 kB / 0.6979 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.8667, allocations: 18.55 kB / 0.698 GB, free: 102.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005607/0.8673, allocations: 0.5045 MB / 0.6985 GB, free: 102.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8673, allocations: 0 / 0.6985 GB, free: 102.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008369/0.8681, allocations: 284 kB / 0.6987 GB, free: 102.1 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.005508/0.8736, allocations: 3.019 MB / 0.7017 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.8768, allocations: 1.561 MB / 0.7032 GB, free: 99.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.8768, allocations: 4.062 kB / 0.7032 GB, free: 99.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.879, allocations: 1.083 MB / 0.7043 GB, free: 99.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.8795, allocations: 57.39 kB / 0.7043 GB, free: 99.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.8816, allocations: 1.342 MB / 0.7056 GB, free: 98.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.8819, allocations: 0.9601 MB / 0.7066 GB, free: 97.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.8821, allocations: 54.75 kB / 0.7066 GB, free: 97.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.8825, allocations: 275.3 kB / 0.7069 GB, free: 97.21 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.8825, allocations: 192 / 0.7069 GB, free: 97.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.9116, allocations: 19.57 MB / 0.726 GB, free: 80.89 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/0.9118, allocations: 175.9 kB / 0.7262 GB, free: 80.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.41, allocations: 64 / 0.7262 GB, free: 80.66 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)