Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",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.001441/0.001441, 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.423/1.423, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.001023/0.001023, allocations: 100.2 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4803/0.4803, allocations: 78.13 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.871e-05, allocations: 7.938 kB / 485.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1603, allocations: 69.36 MB / 0.5414 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.6281, allocations: 97.19 MB / 0.6363 GB, free: 2.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.6283, allocations: 71.97 kB / 0.6364 GB, free: 2.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1571/0.7855, allocations: 59.88 MB / 0.6949 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7855, allocations: 0 / 0.6949 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002014/0.7858, allocations: 56.97 kB / 0.6949 GB, free: 6.297 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01266/0.7984, allocations: 3.745 MB / 0.6986 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.7985, allocations: 8.031 kB / 0.6986 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.8088, allocations: 1.561 MB / 0.7001 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.8135, allocations: 1.452 MB / 0.7016 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007559/0.8143, allocations: 0.6044 MB / 0.7021 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008355/0.8151, allocations: 120 kB / 0.7023 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004439/0.8196, allocations: 2.074 MB / 0.7043 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004521/0.8241, allocations: 2.15 MB / 0.7064 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.8242, allocations: 0 / 0.7064 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.8244, allocations: 5.391 kB / 0.7064 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.8244, allocations: 44 kB / 0.7064 GB, free: 10.29 MB / 0.5105 GB 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.02/0.8444, allocations: 9.281 MB / 0.7155 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009589/0.8541, allocations: 3.954 MB / 0.7194 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.8567, allocations: 1.374 MB / 0.7207 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.8571, allocations: 33.97 kB / 0.7207 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.8571, allocations: 56.56 kB / 0.7208 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 4.528e-06/0.8571, allocations: 0 / 0.7208 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=227): time 0.03792/0.8951, allocations: 11.91 MB / 0.7324 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.8952, allocations: 128.8 kB / 0.7325 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.8979, allocations: 1.487 MB / 0.734 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006805/0.8986, allocations: 25.7 kB / 0.734 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009071/0.8996, allocations: 1.124 MB / 0.7351 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.9008, allocations: 0.7465 MB / 0.7358 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.901, allocations: 0 / 0.7358 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.9012, allocations: 386.2 kB / 0.7362 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.903, allocations: 1.11 MB / 0.7373 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.9052, allocations: 1.4 MB / 0.7387 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.9072, allocations: 1.221 MB / 0.7399 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.9072, allocations: 0 / 0.7399 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03801/0.9452, allocations: 12 MB / 0.7516 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.9465, allocations: 2.734 MB / 0.7542 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.9465, allocations: 7.938 kB / 0.7542 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0173/0.9638, allocations: 4.964 MB / 0.7591 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.9662, allocations: 320.1 kB / 0.7594 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4009/1.367, allocations: 17.59 MB / 0.7766 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/1.372, allocations: 443.5 kB / 0.777 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006772/1.372, allocations: 76.94 kB / 0.7771 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.372, allocations: 6.625 kB / 0.7771 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03636/1.409, allocations: 11.69 MB / 0.7885 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.764e-05/1.409, allocations: 8.438 kB / 0.7885 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01736/1.426, allocations: 4.953 MB / 0.7933 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/1.428, allocations: 306.2 kB / 0.7936 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04473/1.473, allocations: 17.6 MB / 0.8108 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/1.477, allocations: 420.8 kB / 0.8112 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004005/1.477, allocations: 79.92 kB / 0.8113 GB, free: 110.6 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.000719/1.478, allocations: 144.6 kB / 0.8114 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03682/1.515, allocations: 11.91 MB / 0.8231 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/1.516, allocations: 272.9 kB / 0.8233 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03491/1.551, allocations: 12.16 MB / 0.8352 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/1.551, allocations: 20.84 kB / 0.8352 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/1.551, allocations: 19.25 kB / 0.8352 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.748e-05/1.551, allocations: 12 kB / 0.8353 GB, free: 105.8 MB / 0.5573 GB 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.03969/1.591, allocations: 15.48 MB / 0.8504 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/1.591, allocations: 0 / 0.8504 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.593, allocations: 247.3 kB / 0.8506 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0144/1.607, allocations: 4.828 MB / 0.8553 GB, free: 99.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005938/1.608, allocations: 8 kB / 0.8553 GB, free: 99.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03172/1.64, allocations: 15.17 MB / 0.8701 GB, free: 86.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.64, allocations: 0 / 0.8701 GB, free: 86.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03754/1.677, allocations: 14.06 MB / 0.8839 GB, free: 74.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.678, allocations: 375.1 kB / 0.8842 GB, free: 74.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007286/1.679, allocations: 4.75 kB / 0.8842 GB, free: 74.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.682, allocations: 329.5 kB / 0.8846 GB, free: 74.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001795/1.684, allocations: 0.5437 MB / 0.8851 GB, free: 74.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.684, allocations: 59.75 kB / 0.8851 GB, free: 74.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001761/1.686, allocations: 1.116 MB / 0.8862 GB, free: 73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.686, allocations: 0 / 0.8862 GB, free: 73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005199/1.691, allocations: 1.538 MB / 0.8877 GB, free: 71.53 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0369/1.728, allocations: 14.91 MB / 0.9023 GB, free: 59.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02449/1.753, allocations: 9.059 MB / 0.9111 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/1.753, allocations: 7.969 kB / 0.9111 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/1.764, allocations: 3.804 MB / 0.9149 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.766, allocations: 151.9 kB / 0.915 GB, free: 47.63 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009445/1.775, allocations: 4.141 MB / 0.9191 GB, free: 43.96 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.777, allocations: 1.786 MB / 0.9208 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001631/1.778, allocations: 345.3 kB / 0.9211 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.779, allocations: 1.072 MB / 0.9222 GB, free: 41.35 MB / 0.5573 GB Notification: Performance of SimCode: time 1.273e-06/1.779, allocations: 4.844 kB / 0.9222 GB, free: 41.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4613/2.241, allocations: 89.89 MB / 1.01 GB, free: 124.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/2.241, allocations: 148.4 kB / 1.01 GB, free: 124.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.269/7.509, allocations: 0 / 1.01 GB, free: 124.6 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)