Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",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.001225/0.001225, allocations: 99.86 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.42/1.42, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001142/0.001142, allocations: 181 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4909/0.4909, allocations: 79.45 MB / 420.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003756, allocations: 8 kB / 0.4891 GB, free: 5.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 69.5 MB / 0.5569 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.009981/0.3666, allocations: 12.1 MB / 0.5688 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007445/0.3741, allocations: 3.782 MB / 0.5725 GB, free: 32.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/0.3765, allocations: 30.84 kB / 0.5725 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.3779, allocations: 381.6 kB / 0.5729 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.382, allocations: 1.329 MB / 0.5742 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.3845, allocations: 1.01 MB / 0.5751 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004363/0.3889, allocations: 2.526 MB / 0.5776 GB, free: 29.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.39, allocations: 0.7501 MB / 0.5783 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.3919, allocations: 1.338 MB / 0.5796 GB, free: 28.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.3936, allocations: 1.635 MB / 0.5812 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000419/0.394, allocations: 146.8 kB / 0.5814 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.3947, allocations: 265 kB / 0.5816 GB, free: 27.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.3952, allocations: 0.587 MB / 0.5822 GB, free: 27.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.3957, allocations: 0.5469 MB / 0.5827 GB, free: 26.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.3982, allocations: 3.418 MB / 0.5861 GB, free: 26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3982, allocations: 4.469 kB / 0.5861 GB, free: 26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3982, allocations: 0 / 0.5861 GB, free: 26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.406e-05/0.3983, allocations: 3.125 kB / 0.5861 GB, free: 26 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: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01484/0.4132, allocations: 5.03 MB / 0.591 GB, free: 23.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4132, allocations: 9.625 kB / 0.591 GB, free: 23.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000833/0.4141, allocations: 269 kB / 0.5913 GB, free: 23.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.4246, allocations: 1.654 MB / 0.5929 GB, free: 23.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00476/0.4294, allocations: 1.962 MB / 0.5948 GB, free: 22.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004677/0.4299, allocations: 0.4937 MB / 0.5953 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/0.4304, allocations: 207.5 kB / 0.5955 GB, free: 21.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005037/0.4355, allocations: 2.535 MB / 0.5979 GB, free: 20.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.4355, allocations: 3.953 kB / 0.598 GB, free: 20.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.4357, allocations: 77.64 kB / 0.598 GB, free: 20.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.4358, allocations: 45.28 kB / 0.5981 GB, free: 20.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00486/0.4406, allocations: 2.37 MB / 0.6004 GB, free: 19.73 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.01877/0.4594, allocations: 9.844 MB / 0.61 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.4704, allocations: 5.16 MB / 0.615 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/0.4709, allocations: 40.33 kB / 0.6151 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004266/0.4752, allocations: 1.913 MB / 0.6169 GB, free: 10.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 6.923e-06/0.4752, allocations: 0 / 0.6169 GB, free: 10.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=245): time 0.08142/0.5567, allocations: 21.74 MB / 0.6382 GB, free: 9.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.5568, allocations: 239.6 kB / 0.6384 GB, free: 8.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/0.5614, allocations: 2.633 MB / 0.641 GB, free: 6.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007633/0.5622, allocations: 69.7 kB / 0.641 GB, free: 6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.5632, allocations: 1.189 MB / 0.6422 GB, free: 4.801 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.5646, allocations: 0.8627 MB / 0.643 GB, free: 3.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.5649, allocations: 64 kB / 0.6431 GB, free: 3.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.5651, allocations: 437 kB / 0.6435 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003465/0.5686, allocations: 1.701 MB / 0.6452 GB, free: 1.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/0.5724, allocations: 2.021 MB / 0.6472 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/0.5764, allocations: 2.014 MB / 0.6491 GB, free: 13.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.5764, allocations: 4 kB / 0.6491 GB, free: 13.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02449/0.6009, allocations: 9.02 MB / 0.6579 GB, free: 4.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.6011, allocations: 170.2 kB / 0.6581 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.6011, allocations: 8.625 kB / 0.6581 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/0.6132, allocations: 3.475 MB / 0.6615 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.6166, allocations: 0.6241 MB / 0.6621 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04308/0.6598, allocations: 20.17 MB / 0.6818 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/0.665, allocations: 489.1 kB / 0.6823 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00099/0.6661, allocations: 120 kB / 0.6824 GB, free: 11.01 MB / 494.1 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(flow=false start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {36 46,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002978/0.6691, allocations: 0.6121 MB / 0.683 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/0.6707, allocations: 316 kB / 0.6833 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02506/0.6957, allocations: 8.691 MB / 0.6918 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-05/0.6958, allocations: 24 kB / 0.6918 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.6958, allocations: 0 / 0.6918 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.524e-05/0.6959, allocations: 19.89 kB / 0.6918 GB, free: 1.277 MB / 494.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.03352/0.7295, allocations: 13.44 MB / 0.7049 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.7296, allocations: 0 / 0.7049 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/0.7311, allocations: 235.7 kB / 0.7052 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/0.7441, allocations: 3.935 MB / 0.709 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007345/0.7449, allocations: 59.94 kB / 0.7091 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04618/0.7911, allocations: 21.89 MB / 0.7304 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7911, allocations: 3.938 kB / 0.7305 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02981/0.8209, allocations: 10.74 MB / 0.7409 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.8223, allocations: 456.5 kB / 0.7414 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/0.8236, allocations: 52 kB / 0.7414 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/0.827, allocations: 299.7 kB / 0.7417 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/0.8286, allocations: 391.1 kB / 0.7421 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004232/0.829, allocations: 71.98 kB / 0.7422 GB, free: 12.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003543/0.8326, allocations: 1.748 MB / 0.7439 GB, free: 11.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8326, allocations: 0 / 0.7439 GB, free: 11.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004972/0.8376, allocations: 1.081 MB / 0.7449 GB, free: 9.941 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 25 (sTATCOM3_1.simpleLagLim.state,gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {43 48,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0296/0.8672, allocations: 11.54 MB / 0.7562 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01417/0.8814, allocations: 5.895 MB / 0.7619 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.8814, allocations: 0 / 0.7619 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009839/0.8913, allocations: 3.926 MB / 0.7658 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/0.8941, allocations: 251 kB / 0.766 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2566/1.151, allocations: 11.06 MB / 0.7768 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.152, allocations: 1.897 MB / 0.7787 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001182/1.153, allocations: 277.6 kB / 0.7789 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.155, allocations: 1.267 MB / 0.7802 GB, free: 154 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.155, allocations: 1.875 kB / 0.7802 GB, free: 154 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/1.272, allocations: 76.16 MB / 0.8546 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/1.272, allocations: 213.8 kB / 0.8548 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.145/5.417, allocations: 0 / 0.8548 GB, free: 110.6 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) Environment - environmentSimulation: