Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.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-master/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-master/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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000915/0.0009151, allocations: 173.2 kB / 7.644 MB, free: 1.41 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.205/1.205, 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.0007689/0.000769, allocations: 93.59 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06585/0.06585, allocations: 12.59 MB / 321.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3044/0.3044, allocations: 78.06 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.6e-05, allocations: 4 kB / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 69.32 MB / 0.5824 GB, free: 8.379 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.542, allocations: 102.4 MB / 0.6824 GB, free: 5.668 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.5422, allocations: 83.95 kB / 0.6824 GB, free: 5.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2411/0.7833, allocations: 95.54 MB / 0.7757 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7834, allocations: 0 / 0.7757 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003584/0.7837, allocations: 84 kB / 0.7758 GB, free: 0.5117 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02054/0.8043, allocations: 5.739 MB / 0.7814 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.8044, allocations: 16.02 kB / 0.7814 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/0.8221, allocations: 2.768 MB / 0.7841 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006481/0.8286, allocations: 2.221 MB / 0.7863 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/0.8299, allocations: 0.8674 MB / 0.7872 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/0.8314, allocations: 203.9 kB / 0.7874 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008529/0.84, allocations: 3.435 MB / 0.7907 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.85, allocations: 3.587 MB / 0.7942 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.223e-05/0.8501, allocations: 3.953 kB / 0.7942 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007101/0.8509, allocations: 0 / 0.7942 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.8509, allocations: 84 kB / 0.7943 GB, free: 13.27 MB / 0.5261 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.03847/0.8894, allocations: 18.03 MB / 0.8119 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/0.901, allocations: 4.694 MB / 0.8165 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/0.9053, allocations: 2.112 MB / 0.8185 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/0.9061, allocations: 66.91 kB / 0.8186 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005503/0.9116, allocations: 2.484 MB / 0.821 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=382): time 7.704e-06/0.9116, allocations: 0 / 0.821 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of matching and sorting (n=382): time 0.05552/0.9672, allocations: 17.28 MB / 0.8379 GB, free: 15.25 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.9673, allocations: 153.8 kB / 0.8381 GB, free: 15.07 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005314/0.9727, allocations: 2.44 MB / 0.8404 GB, free: 12.62 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/0.9738, allocations: 25.7 kB / 0.8405 GB, free: 12.59 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/0.9756, allocations: 1.986 MB / 0.8424 GB, free: 10.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00222/0.9779, allocations: 1.247 MB / 0.8436 GB, free: 9.32 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007251/0.9786, allocations: 4.031 kB / 0.8436 GB, free: 9.316 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000342/0.979, allocations: 445.7 kB / 0.8441 GB, free: 8.875 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003501/0.9825, allocations: 1.757 MB / 0.8458 GB, free: 7.117 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/0.9862, allocations: 2.321 MB / 0.848 GB, free: 4.598 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/0.9898, allocations: 1.953 MB / 0.8499 GB, free: 2.633 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/0.9899, allocations: 4 kB / 0.8499 GB, free: 2.629 MB / 0.573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05475/1.045, allocations: 17.33 MB / 0.8669 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/1.045, allocations: 71.36 kB / 0.8669 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/1.045, allocations: 16 kB / 0.867 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3409/1.386, allocations: 6.896 MB / 0.8737 GB, free: 130 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/1.389, allocations: 0.5594 MB / 0.8742 GB, free: 130 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05855/1.447, allocations: 25.25 MB / 0.8989 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005943/1.453, allocations: 0.625 MB / 0.8995 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/1.454, allocations: 137.4 kB / 0.8996 GB, free: 128.3 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008091/1.455, allocations: 211.5 kB / 0.8998 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007928/1.455, allocations: 452 kB / 0.9003 GB, free: 128 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04762/1.503, allocations: 17.73 MB / 0.9176 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.908e-05/1.503, allocations: 35.41 kB / 0.9176 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/1.503, allocations: 30.66 kB / 0.9176 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.391e-05/1.503, allocations: 18.33 kB / 0.9177 GB, free: 127.6 MB / 0.5886 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.05377/1.557, allocations: 22.35 MB / 0.9395 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.557, allocations: 0 / 0.9395 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/1.56, allocations: 395.7 kB / 0.9399 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02048/1.58, allocations: 6.974 MB / 0.9467 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008948/1.581, allocations: 19.02 kB / 0.9467 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04753/1.628, allocations: 24.15 MB / 0.9703 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.629, allocations: 2.938 kB / 0.9703 GB, free: 108.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0504/1.679, allocations: 20.58 MB / 0.9904 GB, free: 91.31 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.681, allocations: 0.5546 MB / 0.9909 GB, free: 90.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009893/1.682, allocations: 1.031 kB / 0.9909 GB, free: 90.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004336/1.686, allocations: 444 kB / 0.9914 GB, free: 90.49 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002516/1.688, allocations: 0.778 MB / 0.9921 GB, free: 90.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002824/1.689, allocations: 91.61 kB / 0.9922 GB, free: 89.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002284/1.691, allocations: 1.809 MB / 0.994 GB, free: 88.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.21e-07/1.691, allocations: 0 / 0.994 GB, free: 88.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004605/1.696, allocations: 1.582 MB / 0.9955 GB, free: 86.81 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005034/1.696, allocations: 154.2 kB / 0.9957 GB, free: 86.69 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01824/1.714, allocations: 7.966 MB / 1.003 GB, free: 79.47 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.715, allocations: 0 / 1.003 GB, free: 79.47 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/1.73, allocations: 5.942 MB / 1.009 GB, free: 74.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/1.733, allocations: 240 kB / 1.009 GB, free: 74.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.744, allocations: 5.676 MB / 1.015 GB, free: 68.86 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.746, allocations: 2.537 MB / 1.017 GB, free: 66.96 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001549/1.748, allocations: 292.7 kB / 1.018 GB, free: 66.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007263/1.748, allocations: 201.6 kB / 1.018 GB, free: 66.59 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/1.748, allocations: 0 / 1.018 GB, free: 66.59 MB / 0.5886 GB Notification: Performance of Templates: time 0.1013/1.85, allocations: 72.28 MB / 1.089 GB, free: 3.766 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)