Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009229/0.0009227, allocations: 173.5 kB / 7.646 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.238/1.238, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0007792/0.0007792, allocations: 96.97 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.463/0.463, allocations: 78.12 MB / 409.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.738e-05, allocations: 11.88 kB / 485 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 69.35 MB / 0.5413 GB, free: 6.953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4881, allocations: 101.7 MB / 0.6406 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.4883, allocations: 83.95 kB / 0.6407 GB, free: 13.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2514/0.7398, allocations: 98.76 MB / 0.7372 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7398, allocations: 0 / 0.7372 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003682/0.7402, allocations: 95.88 kB / 0.7372 GB, free: 10.72 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01781/0.758, allocations: 5.782 MB / 0.7429 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7581, allocations: 8.031 kB / 0.7429 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.775, allocations: 2.772 MB / 0.7456 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005505/0.7806, allocations: 2.298 MB / 0.7479 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009125/0.7815, allocations: 0.8374 MB / 0.7487 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.7827, allocations: 200 kB / 0.7489 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007498/0.7902, allocations: 3.451 MB / 0.7522 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009247/0.7995, allocations: 3.606 MB / 0.7558 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.681e-05/0.7996, allocations: 4 kB / 0.7558 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000701/0.8003, allocations: 0 / 0.7558 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/0.8004, allocations: 84 kB / 0.7558 GB, free: 7.359 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 preOpt removeSimpleEquations (simulation): time 0.3157/1.116, allocations: 18.2 MB / 0.7736 GB, free: 86.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009447/1.126, allocations: 4.676 MB / 0.7782 GB, free: 85.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/1.129, allocations: 2.133 MB / 0.7803 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/1.13, allocations: 72.38 kB / 0.7803 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/1.13, allocations: 78.36 kB / 0.7804 GB, free: 85.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 6.502e-06/1.13, allocations: 2.906 kB / 0.7804 GB, free: 85.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05229/1.182, allocations: 17.18 MB / 0.7972 GB, free: 85.13 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/1.182, allocations: 175.4 kB / 0.7973 GB, free: 84.97 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006634/1.189, allocations: 2.474 MB / 0.7998 GB, free: 84.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000962/1.19, allocations: 25.7 kB / 0.7998 GB, free: 84.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/1.191, allocations: 2.01 MB / 0.8018 GB, free: 84.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002174/1.194, allocations: 1.255 MB / 0.803 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007688/1.194, allocations: 0 / 0.803 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003518/1.195, allocations: 443.2 kB / 0.8034 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/1.199, allocations: 1.771 MB / 0.8051 GB, free: 83.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/1.202, allocations: 2.324 MB / 0.8074 GB, free: 82.69 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/1.206, allocations: 1.964 MB / 0.8093 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.493e-05/1.206, allocations: 3.938 kB / 0.8093 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05535/1.262, allocations: 17.35 MB / 0.8263 GB, free: 81.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001294/1.263, allocations: 6.683 MB / 0.8328 GB, free: 74.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/1.263, allocations: 18.91 kB / 0.8328 GB, free: 74.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02287/1.286, allocations: 6.923 MB / 0.8396 GB, free: 74.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/1.289, allocations: 0.5322 MB / 0.8401 GB, free: 74.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05447/1.343, allocations: 26.37 MB / 0.8658 GB, free: 63.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006135/1.349, allocations: 0.6261 MB / 0.8665 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008945/1.35, allocations: 130.7 kB / 0.8666 GB, free: 63.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.35, allocations: 3.844 kB / 0.8666 GB, free: 63.57 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0489/1.399, allocations: 16.86 MB / 0.883 GB, free: 59.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/1.399, allocations: 20 kB / 0.8831 GB, free: 59.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02352/1.423, allocations: 6.922 MB / 0.8898 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/1.426, allocations: 0.5265 MB / 0.8903 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05613/1.482, allocations: 26.36 MB / 0.9161 GB, free: 30.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006495/1.489, allocations: 0.5911 MB / 0.9167 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009479/1.49, allocations: 131.8 kB / 0.9168 GB, free: 29.57 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001054/1.491, allocations: 203.6 kB / 0.917 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/1.492, allocations: 458.4 kB / 0.9174 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04955/1.542, allocations: 17.64 MB / 0.9346 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/1.542, allocations: 37.69 kB / 0.9347 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/1.542, allocations: 31.95 kB / 0.9347 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001088/1.542, allocations: 18.75 kB / 0.9347 GB, free: 15.25 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.0627/1.605, allocations: 22.74 MB / 0.9569 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/1.605, allocations: 32 / 0.9569 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003127/1.608, allocations: 415.1 kB / 0.9573 GB, free: 14.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02338/1.631, allocations: 6.879 MB / 0.9641 GB, free: 8.707 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009968/1.632, allocations: 20.97 kB / 0.9641 GB, free: 8.691 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05173/1.684, allocations: 22.31 MB / 0.9859 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.684, allocations: 0 / 0.9859 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3755/2.06, allocations: 20.52 MB / 1.006 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/2.062, allocations: 0.5542 MB / 1.006 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001975/2.064, allocations: 5.125 kB / 1.006 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006086/2.07, allocations: 431.8 kB / 1.007 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00315/2.073, allocations: 0.7682 MB / 1.008 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006238/2.074, allocations: 98.52 kB / 1.008 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003881/2.078, allocations: 1.833 MB / 1.009 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/2.078, allocations: 1.031 kB / 1.009 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01113/2.089, allocations: 2.633 MB / 1.012 GB, free: 110.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009521/2.09, allocations: 161.7 kB / 1.012 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04406/2.134, allocations: 14.29 MB / 1.026 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/2.134, allocations: 0 / 1.026 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01979/2.154, allocations: 5.851 MB / 1.032 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/2.157, allocations: 246.6 kB / 1.032 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/2.172, allocations: 6.054 MB / 1.038 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003554/2.176, allocations: 2.611 MB / 1.041 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003531/2.18, allocations: 0.6043 MB / 1.041 GB, free: 106 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/2.18, allocations: 171 kB / 1.041 GB, free: 106 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/2.18, allocations: 0 / 1.041 GB, free: 106 MB / 0.5886 GB Notification: Performance of Templates: time 0.1453/2.326, allocations: 105 MB / 1.144 GB, free: 58.25 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)