Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 86.59 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08335/0.08335, allocations: 12.19 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3002/0.3002, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.596e-05/1.598e-05, allocations: 4 kB / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.115, allocations: 69.24 MB / 0.5819 GB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.5013, allocations: 98.04 MB / 0.6776 GB, free: 9.785 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.5015, allocations: 67.97 kB / 0.6777 GB, free: 9.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04774/0.5492, allocations: 19.67 MB / 0.6969 GB, free: 10.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5493, allocations: 0 / 0.6969 GB, free: 10.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.5493, allocations: 15.44 kB / 0.6969 GB, free: 10.54 MB / 442.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.002682/0.552, allocations: 1.177 MB / 0.698 GB, free: 9.387 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5521, allocations: 8.031 kB / 0.698 GB, free: 9.379 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.5541, allocations: 386.2 kB / 0.6984 GB, free: 9.035 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.5549, allocations: 0.5661 MB / 0.699 GB, free: 8.559 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.5551, allocations: 130.4 kB / 0.6991 GB, free: 8.414 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.5552, allocations: 35.88 kB / 0.6991 GB, free: 8.379 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008369/0.5561, allocations: 0.5149 MB / 0.6996 GB, free: 8.074 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.5569, allocations: 0.499 MB / 0.7001 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.557, allocations: 0 / 0.7001 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.557, allocations: 4 kB / 0.7001 GB, free: 7.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.557, allocations: 8 kB / 0.7001 GB, free: 7.723 MB / 442.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.004083/0.5611, allocations: 2.517 MB / 0.7026 GB, free: 5.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.5737, allocations: 3.558 MB / 0.706 GB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.5744, allocations: 339.4 kB / 0.7064 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.383e-05/0.5745, allocations: 12.55 kB / 0.7064 GB, free: 2.297 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5746, allocations: 35.06 kB / 0.7064 GB, free: 2.258 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 4.198e-06/0.5746, allocations: 0 / 0.7064 GB, free: 2.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.005385/0.58, allocations: 1.833 MB / 0.7082 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.58, allocations: 55.97 kB / 0.7083 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009758/0.581, allocations: 0.606 MB / 0.7089 GB, free: 240 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.5811, allocations: 25.7 kB / 0.7089 GB, free: 208 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.5814, allocations: 362.4 kB / 0.7092 GB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.5816, allocations: 198.3 kB / 0.7094 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.5816, allocations: 0 / 0.7094 GB, free: 15.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5818, allocations: 336.7 kB / 0.7097 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.5822, allocations: 288.2 kB / 0.71 GB, free: 15.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.5827, allocations: 367.8 kB / 0.7104 GB, free: 15.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.5832, allocations: 314.2 kB / 0.7107 GB, free: 14.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5832, allocations: 0 / 0.7107 GB, free: 14.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005553/0.5887, allocations: 2.009 MB / 0.7126 GB, free: 13.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.5888, allocations: 8 kB / 0.7126 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5888, allocations: 4 kB / 0.7126 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003506/0.5923, allocations: 0.9566 MB / 0.7136 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.5928, allocations: 90.78 kB / 0.7137 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007877/0.6007, allocations: 5.222 MB / 0.7188 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.6017, allocations: 91.47 kB / 0.7188 GB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.6018, allocations: 25.61 kB / 0.7189 GB, free: 7.926 MB / 458.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.0003097/0.6021, allocations: 123.9 kB / 0.719 GB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005048/0.6072, allocations: 1.841 MB / 0.7208 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.6074, allocations: 82.97 kB / 0.7209 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004953/0.6123, allocations: 1.883 MB / 0.7227 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.6123, allocations: 11.94 kB / 0.7227 GB, free: 4.652 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6124, allocations: 11.95 kB / 0.7227 GB, free: 4.641 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6124, allocations: 3.984 kB / 0.7227 GB, free: 4.637 MB / 458.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.00621/0.6186, allocations: 2.915 MB / 0.7256 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6186, allocations: 0 / 0.7256 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.6191, allocations: 63.91 kB / 0.7256 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/0.6217, allocations: 0.8483 MB / 0.7265 GB, free: 1.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.6218, allocations: 7.984 kB / 0.7265 GB, free: 1.496 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005411/0.6272, allocations: 3.276 MB / 0.7297 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6272, allocations: 3.938 kB / 0.7297 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005791/0.633, allocations: 2.374 MB / 0.732 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.6334, allocations: 184.9 kB / 0.7322 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.6335, allocations: 0 / 0.7322 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.6343, allocations: 59.94 kB / 0.7322 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/0.6346, allocations: 118.2 kB / 0.7323 GB, free: 12.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.6346, allocations: 15.31 kB / 0.7324 GB, free: 12.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006808/0.6353, allocations: 473.3 kB / 0.7328 GB, free: 12.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6353, allocations: 0 / 0.7328 GB, free: 12.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009671/0.6363, allocations: 262.8 kB / 0.7331 GB, free: 12.16 MB / 474.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.006084/0.6424, allocations: 2.955 MB / 0.7359 GB, free: 9.281 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003395/0.6458, allocations: 1.514 MB / 0.7374 GB, free: 7.703 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6458, allocations: 0 / 0.7374 GB, free: 7.703 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.6483, allocations: 1.054 MB / 0.7384 GB, free: 6.598 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.6488, allocations: 43.3 kB / 0.7385 GB, free: 6.555 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.6514, allocations: 1.299 MB / 0.7398 GB, free: 5.207 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.652, allocations: 0.9649 MB / 0.7407 GB, free: 4.211 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.6522, allocations: 48.55 kB / 0.7407 GB, free: 4.164 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.6526, allocations: 275.5 kB / 0.741 GB, free: 3.895 MB / 474.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6526, allocations: 4 kB / 0.741 GB, free: 3.891 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/0.697, allocations: 18.02 MB / 0.7586 GB, free: 1.906 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.6973, allocations: 124.3 kB / 0.7587 GB, free: 1.711 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.21, allocations: 0 / 0.7587 GB, free: 1.711 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)