Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 172 kB / 7.647 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.395/1.395, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009036/0.0009036, allocations: 92.31 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4754/0.4754, allocations: 78.94 MB / 410.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.783e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1444, allocations: 69.51 MB / 0.5424 GB, free: 5.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.5314, allocations: 98.85 MB / 0.639 GB, free: 15.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.5316, allocations: 75.95 kB / 0.639 GB, free: 15.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1147/0.6463, allocations: 36.61 MB / 0.6748 GB, free: 10.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6464, allocations: 4 kB / 0.6748 GB, free: 10.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.971e-05/0.6465, allocations: 27.94 kB / 0.6748 GB, free: 10.57 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005853/0.6524, allocations: 1.702 MB / 0.6765 GB, free: 8.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.6524, allocations: 8.031 kB / 0.6765 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005562/0.658, allocations: 0.5641 MB / 0.677 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.6602, allocations: 0.774 MB / 0.6778 GB, free: 7.406 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.6606, allocations: 240.2 kB / 0.678 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/0.6608, allocations: 51.84 kB / 0.6781 GB, free: 7.086 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002191/0.663, allocations: 0.7967 MB / 0.6788 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.6652, allocations: 0.829 MB / 0.6797 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.6653, allocations: 0 / 0.6797 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.6654, allocations: 3.984 kB / 0.6797 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.6654, allocations: 20 kB / 0.6797 GB, free: 5.426 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.009965/0.6754, allocations: 3.691 MB / 0.6833 GB, free: 1.566 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009938/0.6854, allocations: 2.604 MB / 0.6858 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.6868, allocations: 0.5195 MB / 0.6863 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.687, allocations: 16.77 kB / 0.6863 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/0.6885, allocations: 0.646 MB / 0.687 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.306e-06/0.6885, allocations: 0 / 0.687 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01713/0.7056, allocations: 3.926 MB / 0.6908 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.7058, allocations: 123.5 kB / 0.6909 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.7076, allocations: 0.8038 MB / 0.6917 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.7079, allocations: 25.7 kB / 0.6917 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/0.7084, allocations: 0.5168 MB / 0.6922 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004796/0.7089, allocations: 334.9 kB / 0.6926 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.709, allocations: 0 / 0.6926 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.7092, allocations: 349.9 kB / 0.6929 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.7103, allocations: 434.6 kB / 0.6933 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.7116, allocations: 0.5575 MB / 0.6939 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.7128, allocations: 498.1 kB / 0.6943 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.7128, allocations: 0 / 0.6943 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01727/0.7301, allocations: 3.957 MB / 0.6982 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.7302, allocations: 60.53 kB / 0.6983 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.7302, allocations: 8 kB / 0.6983 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007601/0.7379, allocations: 1.499 MB / 0.6997 GB, free: 476 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.7393, allocations: 183.8 kB / 0.6999 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/0.7585, allocations: 6.547 MB / 0.7063 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.7607, allocations: 191 kB / 0.7065 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.7609, allocations: 35.98 kB / 0.7065 GB, free: 9.395 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004092/0.7613, allocations: 164.6 kB / 0.7067 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.7616, allocations: 125.6 kB / 0.7068 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/0.7786, allocations: 4.035 MB / 0.7107 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.7787, allocations: 12.52 kB / 0.7107 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.7787, allocations: 8 kB / 0.7107 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.131e-05/0.7788, allocations: 7.922 kB / 0.7108 GB, free: 5.012 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 postOpt removeSimpleEquations (simulation): time 0.02049/0.7993, allocations: 5.506 MB / 0.7161 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.7993, allocations: 4 kB / 0.7161 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009376/0.8003, allocations: 95.89 kB / 0.7162 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006887/0.8072, allocations: 1.482 MB / 0.7177 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/0.8075, allocations: 8 kB / 0.7177 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/0.8272, allocations: 7.533 MB / 0.725 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.8273, allocations: 0 / 0.725 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/0.8465, allocations: 4.773 MB / 0.7297 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.8476, allocations: 229.4 kB / 0.7299 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/0.848, allocations: 3.938 kB / 0.7299 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.8497, allocations: 127.9 kB / 0.73 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009751/0.8507, allocations: 205 kB / 0.7302 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.8508, allocations: 20 kB / 0.7303 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001378/0.8522, allocations: 0.6175 MB / 0.7309 GB, free: 28 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8522, allocations: 0 / 0.7309 GB, free: 28 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002172/0.8544, allocations: 391.4 kB / 0.7312 GB, free: 15.64 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004273/0.8548, allocations: 139 kB / 0.7314 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006667/0.8615, allocations: 1.995 MB / 0.7333 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.8616, allocations: 0 / 0.7333 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005422/0.867, allocations: 1.543 MB / 0.7348 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.8682, allocations: 92.38 kB / 0.7349 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.8727, allocations: 1.691 MB / 0.7366 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/0.8736, allocations: 1.147 MB / 0.7377 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006491/0.8743, allocations: 90.69 kB / 0.7378 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.8746, allocations: 63.42 kB / 0.7378 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of SimCode: time 1.143e-06/0.8746, allocations: 4 kB / 0.7378 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of Templates: time 0.04525/0.9199, allocations: 18.87 MB / 0.7563 GB, free: 6.086 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)