Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_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/Complex 4.0.0+maint.om/package.mo): time 0.0009095/0.0009095, 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.392/1.392, allocations: 221.5 MB / 229.6 MB, free: 3.113 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.0008625/0.0008625, allocations: 94.7 kB / 280.5 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4267/0.4267, allocations: 78.07 MB / 409.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.433e-05, allocations: 4 kB / 485 MB, free: 3.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3019, allocations: 69.35 MB / 0.5414 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4209, allocations: 103 MB / 0.6419 GB, free: 1.574 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.4211, allocations: 71.91 kB / 0.642 GB, free: 1.504 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4798/0.9009, allocations: 72.75 MB / 0.713 GB, free: 93.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.901, allocations: 3.938 kB / 0.713 GB, free: 93.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002951/0.9013, allocations: 56.53 kB / 0.7131 GB, free: 93.65 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: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01/0.9113, allocations: 3.485 MB / 0.7165 GB, free: 91.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.9113, allocations: 11.02 kB / 0.7165 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007493/0.9188, allocations: 1.192 MB / 0.7177 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.9232, allocations: 1.807 MB / 0.7194 GB, free: 89.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004114/0.9236, allocations: 434.4 kB / 0.7198 GB, free: 88.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000523/0.9241, allocations: 119.9 kB / 0.72 GB, free: 88.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003358/0.9275, allocations: 1.921 MB / 0.7218 GB, free: 86.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.9309, allocations: 1.961 MB / 0.7238 GB, free: 84.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.931, allocations: 3.984 kB / 0.7238 GB, free: 84.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.9312, allocations: 3.984 kB / 0.7238 GB, free: 84.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.9313, allocations: 48 kB / 0.7238 GB, free: 84.44 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.0164/0.9477, allocations: 8.908 MB / 0.7325 GB, free: 75.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008685/0.9564, allocations: 4.702 MB / 0.7371 GB, free: 70.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.9586, allocations: 1.272 MB / 0.7383 GB, free: 69.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.9589, allocations: 46.03 kB / 0.7384 GB, free: 69.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002433/0.9614, allocations: 1.531 MB / 0.7399 GB, free: 67.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 5.75e-06/0.9614, allocations: 4 kB / 0.7399 GB, free: 67.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.02147/0.9829, allocations: 7.318 MB / 0.747 GB, free: 60.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.983, allocations: 239.6 kB / 0.7473 GB, free: 59.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.9862, allocations: 1.959 MB / 0.7492 GB, free: 57.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000626/0.9868, allocations: 25.7 kB / 0.7492 GB, free: 57.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/0.9876, allocations: 1.205 MB / 0.7504 GB, free: 56.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.9886, allocations: 0.812 MB / 0.7512 GB, free: 55.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.9888, allocations: 4 kB / 0.7512 GB, free: 55.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9889, allocations: 411 kB / 0.7516 GB, free: 55.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.9905, allocations: 1.044 MB / 0.7526 GB, free: 54.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.9923, allocations: 1.299 MB / 0.7538 GB, free: 52.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.9941, allocations: 1.149 MB / 0.755 GB, free: 51.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.9941, allocations: 4 kB / 0.755 GB, free: 51.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01876/1.013, allocations: 6.923 MB / 0.7617 GB, free: 44.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/1.013, allocations: 170.2 kB / 0.7619 GB, free: 44.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.013, allocations: 4 kB / 0.7619 GB, free: 44.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009581/1.023, allocations: 2.79 MB / 0.7646 GB, free: 41.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/1.025, allocations: 463.4 kB / 0.7651 GB, free: 41.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/1.05, allocations: 15.6 MB / 0.7803 GB, free: 25.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/1.055, allocations: 369.8 kB / 0.7806 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004903/1.056, allocations: 95.97 kB / 0.7807 GB, free: 24.93 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 226 * 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.0006755/1.056, allocations: 240.7 kB / 0.781 GB, free: 24.67 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02033/1.077, allocations: 7.322 MB / 0.7881 GB, free: 17.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.078, allocations: 312.2 kB / 0.7884 GB, free: 17.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/1.099, allocations: 7.533 MB / 0.7958 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/1.099, allocations: 28 kB / 0.7958 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.099, allocations: 7.953 kB / 0.7958 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.456e-05/1.099, allocations: 11.95 kB / 0.7958 GB, free: 9.418 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.02735/1.126, allocations: 11.8 MB / 0.8073 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/1.126, allocations: 4 kB / 0.8074 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.128, allocations: 235.6 kB / 0.8076 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01157/1.139, allocations: 3.325 MB / 0.8108 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007045/1.14, allocations: 23.98 kB / 0.8108 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0334/1.174, allocations: 17.5 MB / 0.8279 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.174, allocations: 4 kB / 0.8279 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02663/1.2, allocations: 9.242 MB / 0.837 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.202, allocations: 448.6 kB / 0.8374 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.203, allocations: 12 kB / 0.8374 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/1.206, allocations: 255.7 kB / 0.8376 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001447/1.208, allocations: 402 kB / 0.838 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/1.208, allocations: 67.98 kB / 0.8381 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002523/1.211, allocations: 1.461 MB / 0.8395 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/1.211, allocations: 0 / 0.8395 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004059/1.215, allocations: 0.9049 MB / 0.8404 GB, free: 11.04 MB / 0.5261 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 () * 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.02611/1.241, allocations: 10.04 MB / 0.8502 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.252, allocations: 4.568 MB / 0.8547 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.252, allocations: 0 / 0.8547 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008791/1.26, allocations: 3.449 MB / 0.858 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.263, allocations: 215.5 kB / 0.8582 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.274, allocations: 4.937 MB / 0.8631 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.275, allocations: 1.892 MB / 0.8649 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001138/1.277, allocations: 224.1 kB / 0.8651 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.278, allocations: 1.237 MB / 0.8663 GB, free: 136 kB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/1.278, allocations: 0 / 0.8663 GB, free: 136 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4431/1.721, allocations: 71.28 MB / 0.936 GB, free: 170 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/1.722, allocations: 131.8 kB / 0.9361 GB, free: 169.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.897/6.619, allocations: 0 / 0.9361 GB, free: 169.8 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)