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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",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.001022/0.001022, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 98.61 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4287/0.4287, allocations: 78.91 MB / 415.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.876e-05, allocations: 4 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.286, allocations: 69.51 MB / 0.5492 GB, free: 19.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3979, allocations: 99.51 MB / 0.6464 GB, free: 88 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.3981, allocations: 79.95 kB / 0.6465 GB, free: 8 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.354/0.7522, allocations: 37.03 MB / 0.6826 GB, free: 106.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.7522, allocations: 3.188 kB / 0.6826 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.7523, allocations: 21.09 kB / 0.6826 GB, free: 106.3 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.004801/0.7572, allocations: 1.702 MB / 0.6843 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.7572, allocations: 13.16 kB / 0.6843 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002773/0.7575, allocations: 127.7 kB / 0.6844 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/0.7611, allocations: 0.5631 MB / 0.685 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.763, allocations: 0.7785 MB / 0.6858 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.7633, allocations: 260.9 kB / 0.686 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003298/0.7637, allocations: 85.48 kB / 0.6861 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.766, allocations: 0.9349 MB / 0.687 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.766, allocations: 0 / 0.687 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.7661, allocations: 34.23 kB / 0.687 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.7662, allocations: 18.31 kB / 0.687 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.7676, allocations: 0.8448 MB / 0.6879 GB, free: 104.8 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.006904/0.7745, allocations: 3.816 MB / 0.6916 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006569/0.7811, allocations: 2.667 MB / 0.6942 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008823/0.782, allocations: 0.5438 MB / 0.6947 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.7822, allocations: 19 kB / 0.6948 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.7833, allocations: 0.6737 MB / 0.6954 GB, free: 102.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.777e-06/0.7833, allocations: 0 / 0.6954 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01144/0.7948, allocations: 4.018 MB / 0.6993 GB, free: 101.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.7948, allocations: 122.9 kB / 0.6994 GB, free: 101.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.7963, allocations: 0.8717 MB / 0.7003 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.7965, allocations: 45.64 kB / 0.7003 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.7968, allocations: 0.5004 MB / 0.7008 GB, free: 100.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.7971, allocations: 351.8 kB / 0.7012 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.7972, allocations: 19.44 kB / 0.7012 GB, free: 100.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.7973, allocations: 343 kB / 0.7015 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.798, allocations: 462.4 kB / 0.702 GB, free: 99.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.7987, allocations: 0.5814 MB / 0.7025 GB, free: 99.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.7994, allocations: 0.5541 MB / 0.7031 GB, free: 99.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.7994, allocations: 0 / 0.7031 GB, free: 99.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01115/0.8106, allocations: 4.093 MB / 0.7071 GB, free: 97.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.8107, allocations: 63.41 kB / 0.7071 GB, free: 97.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8107, allocations: 4 kB / 0.7071 GB, free: 97.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00492/0.8156, allocations: 1.525 MB / 0.7086 GB, free: 96.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009556/0.8166, allocations: 183.2 kB / 0.7088 GB, free: 96.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.8287, allocations: 6.743 MB / 0.7154 GB, free: 90.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.8303, allocations: 202.1 kB / 0.7156 GB, free: 90.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/0.8304, allocations: 35.94 kB / 0.7156 GB, free: 90.16 MB / 490.7 MB 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.0002495/0.8307, allocations: 195.5 kB / 0.7158 GB, free: 89.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.8309, allocations: 126.4 kB / 0.7159 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.8418, allocations: 4.147 MB / 0.72 GB, free: 86.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.8418, allocations: 8 kB / 0.72 GB, free: 86.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.8419, allocations: 8 kB / 0.72 GB, free: 86.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/0.8419, allocations: 7.797 kB / 0.72 GB, free: 86.55 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.01241/0.8543, allocations: 5.706 MB / 0.7256 GB, free: 81.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.8544, allocations: 4.031 kB / 0.7256 GB, free: 81.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.855, allocations: 99.89 kB / 0.7257 GB, free: 80.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004325/0.8593, allocations: 1.5 MB / 0.7271 GB, free: 79.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.8595, allocations: 20 kB / 0.7271 GB, free: 79.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.8712, allocations: 7.697 MB / 0.7347 GB, free: 71.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8713, allocations: 0 / 0.7347 GB, free: 71.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.8834, allocations: 4.881 MB / 0.7394 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.8839, allocations: 231.3 kB / 0.7396 GB, free: 66.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.8841, allocations: 20 kB / 0.7397 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.8853, allocations: 143.9 kB / 0.7398 GB, free: 66.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005166/0.8858, allocations: 196.6 kB / 0.74 GB, free: 65.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/0.8859, allocations: 24 kB / 0.74 GB, free: 65.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007935/0.8867, allocations: 0.6895 MB / 0.7407 GB, free: 65.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8867, allocations: 0 / 0.7407 GB, free: 65.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001192/0.8879, allocations: 435.7 kB / 0.7411 GB, free: 64.82 MB / 490.7 MB 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.01233/0.9002, allocations: 5.564 MB / 0.7465 GB, free: 59.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004479/0.9047, allocations: 2.061 MB / 0.7485 GB, free: 57.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9048, allocations: 0 / 0.7485 GB, free: 57.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.9083, allocations: 1.596 MB / 0.7501 GB, free: 55.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.9092, allocations: 104.5 kB / 0.7502 GB, free: 55.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.9124, allocations: 1.938 MB / 0.7521 GB, free: 53.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.9128, allocations: 1.147 MB / 0.7532 GB, free: 52.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000357/0.9132, allocations: 94.14 kB / 0.7533 GB, free: 52.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.9137, allocations: 467.3 kB / 0.7537 GB, free: 51.7 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.9137, allocations: 4 kB / 0.7538 GB, free: 51.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.9569, allocations: 30.82 MB / 0.7838 GB, free: 21.45 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.9571, allocations: 206.6 kB / 0.784 GB, free: 21.22 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.827, allocations: 0 / 0.784 GB, free: 21.22 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)