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.001442/0.001442, allocations: 173.9 kB / 7.648 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.421/1.421, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.0009164/0.0009167, allocations: 87.45 kB / 280.5 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4323/0.4323, allocations: 78.12 MB / 409.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.289e-05, allocations: 0 / 485 MB, free: 4.109 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 69.35 MB / 0.5414 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4386, allocations: 96.55 MB / 0.6357 GB, free: 8.152 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4389, allocations: 71.97 kB / 0.6358 GB, free: 8.082 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05456/0.4934, allocations: 20.29 MB / 0.6556 GB, free: 3.637 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4935, allocations: 0 / 0.6556 GB, free: 3.637 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.984e-05/0.4935, allocations: 16 kB / 0.6556 GB, free: 3.621 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.003343/0.4969, allocations: 1.188 MB / 0.6567 GB, free: 2.383 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.497, allocations: 8.031 kB / 0.6568 GB, free: 2.375 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.4994, allocations: 382.5 kB / 0.6571 GB, free: 2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/0.5003, allocations: 0.558 MB / 0.6577 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.5005, allocations: 122.4 kB / 0.6578 GB, free: 1.262 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.705e-05/0.5006, allocations: 28.66 kB / 0.6578 GB, free: 1.234 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009176/0.5015, allocations: 0.5184 MB / 0.6583 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008777/0.5024, allocations: 0.5115 MB / 0.6588 GB, free: 204 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5024, allocations: 0 / 0.6588 GB, free: 204 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.5025, allocations: 4 kB / 0.6588 GB, free: 200 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.5025, allocations: 12 kB / 0.6588 GB, free: 188 kB / 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.004265/0.5068, allocations: 2.51 MB / 0.6613 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.5198, allocations: 3.55 MB / 0.6647 GB, free: 9.973 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006513/0.5205, allocations: 346.5 kB / 0.6651 GB, free: 9.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.408e-05/0.5206, allocations: 8.547 kB / 0.6651 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.5207, allocations: 39.12 kB / 0.6651 GB, free: 9.578 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 3.947e-06/0.5207, allocations: 0 / 0.6651 GB, free: 9.578 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005474/0.5262, allocations: 1.839 MB / 0.6669 GB, free: 7.719 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.5262, allocations: 59.97 kB / 0.667 GB, free: 7.648 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/0.5272, allocations: 0.5938 MB / 0.6676 GB, free: 7.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.5273, allocations: 25.7 kB / 0.6676 GB, free: 7.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.5275, allocations: 368.6 kB / 0.6679 GB, free: 6.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.5277, allocations: 200.9 kB / 0.6681 GB, free: 6.457 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.5278, allocations: 0 / 0.6681 GB, free: 6.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5279, allocations: 334 kB / 0.6684 GB, free: 6.125 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.5284, allocations: 289.5 kB / 0.6687 GB, free: 5.844 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.5289, allocations: 361.7 kB / 0.6691 GB, free: 5.469 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.5294, allocations: 326.6 kB / 0.6694 GB, free: 5.148 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5294, allocations: 0 / 0.6694 GB, free: 5.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00583/0.5352, allocations: 1.992 MB / 0.6713 GB, free: 3.133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.5353, allocations: 13.55 kB / 0.6713 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5353, allocations: 4 kB / 0.6713 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/0.5389, allocations: 0.9687 MB / 0.6723 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.5394, allocations: 83.89 kB / 0.6724 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2969/0.8363, allocations: 5.212 MB / 0.6775 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.8374, allocations: 102.9 kB / 0.6776 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.8375, allocations: 20.58 kB / 0.6776 GB, free: 109.2 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.0002602/0.8378, allocations: 115.5 kB / 0.6777 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005948/0.8437, allocations: 1.834 MB / 0.6795 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.844, allocations: 84.2 kB / 0.6796 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005609/0.8496, allocations: 1.889 MB / 0.6814 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.8496, allocations: 6.156 kB / 0.6814 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.8497, allocations: 3.781 kB / 0.6814 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.8497, allocations: 7.156 kB / 0.6814 GB, free: 108.9 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.007082/0.8568, allocations: 2.918 MB / 0.6843 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.8568, allocations: 0.625 kB / 0.6843 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.8573, allocations: 65.89 kB / 0.6843 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/0.86, allocations: 0.8447 MB / 0.6852 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.86, allocations: 5.5 kB / 0.6852 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.8652, allocations: 3.281 MB / 0.6884 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8653, allocations: 0 / 0.6884 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.8707, allocations: 2.376 MB / 0.6907 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.871, allocations: 183.1 kB / 0.6909 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.8711, allocations: 0 / 0.6909 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/0.8718, allocations: 62.28 kB / 0.6909 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.8721, allocations: 117.5 kB / 0.691 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.8721, allocations: 15.69 kB / 0.691 GB, free: 105.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004921/0.8726, allocations: 474.1 kB / 0.6915 GB, free: 105.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8726, allocations: 0 / 0.6915 GB, free: 105.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008941/0.8735, allocations: 258 kB / 0.6917 GB, free: 105.4 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.00544/0.879, allocations: 2.958 MB / 0.6946 GB, free: 104.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003068/0.8821, allocations: 1.515 MB / 0.6961 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8821, allocations: 0 / 0.6961 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.8843, allocations: 1.056 MB / 0.6971 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.8849, allocations: 46.89 kB / 0.6972 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.8871, allocations: 1.301 MB / 0.6985 GB, free: 102 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.8874, allocations: 0.9612 MB / 0.6994 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000225/0.8877, allocations: 50.2 kB / 0.6994 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.888, allocations: 277.5 kB / 0.6997 GB, free: 101.1 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.888, allocations: 0 / 0.6997 GB, free: 101.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.9247, allocations: 18.03 MB / 0.7173 GB, free: 90.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.9249, allocations: 115.3 kB / 0.7174 GB, free: 90.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.335, allocations: 0 / 0.7174 GB, free: 90.41 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)