Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.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/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/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001065, allocations: 172.5 kB / 7.647 MB, free: 1.422 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.605/1.605, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.000843/0.0008429, allocations: 91.38 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08608/0.08608, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3109/0.3109, allocations: 78.07 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.127e-05, allocations: 0 / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.166, allocations: 69.24 MB / 0.5819 GB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5819/0.7479, allocations: 101.9 MB / 0.6813 GB, free: 6.758 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.7482, allocations: 81.27 kB / 0.6814 GB, free: 6.715 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2342/0.9824, allocations: 94.23 MB / 0.7734 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9824, allocations: 0 / 0.7734 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000252/0.9827, allocations: 95.88 kB / 0.7735 GB, free: 3.129 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02099/1.004, allocations: 5.728 MB / 0.7791 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/1.004, allocations: 8.031 kB / 0.7791 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01902/1.023, allocations: 2.772 MB / 0.7818 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00842/1.031, allocations: 2.255 MB / 0.784 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/1.032, allocations: 0.8385 MB / 0.7849 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/1.034, allocations: 203.9 kB / 0.785 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007277/1.041, allocations: 3.431 MB / 0.7884 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006512/1.048, allocations: 3.583 MB / 0.7919 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.511e-05/1.048, allocations: 3.781 kB / 0.7919 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/1.048, allocations: 4 kB / 0.7919 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-05/1.048, allocations: 84 kB / 0.792 GB, free: 15.9 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.03551/1.084, allocations: 18.08 MB / 0.8096 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/1.094, allocations: 4.646 MB / 0.8142 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/1.097, allocations: 2.112 MB / 0.8162 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/1.098, allocations: 66.89 kB / 0.8163 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/1.098, allocations: 77.52 kB / 0.8164 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=379): time 5.13e-06/1.098, allocations: 0.9375 kB / 0.8164 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of matching and sorting (n=379): time 0.05203/1.15, allocations: 17.15 MB / 0.8331 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.15, allocations: 171.5 kB / 0.8333 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/1.155, allocations: 2.436 MB / 0.8357 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/1.156, allocations: 25.7 kB / 0.8357 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.157, allocations: 2.006 MB / 0.8377 GB, free: 15.74 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002198/1.16, allocations: 1.239 MB / 0.8389 GB, free: 14.48 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/1.16, allocations: 4 kB / 0.8389 GB, free: 14.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002222/1.16, allocations: 445.5 kB / 0.8393 GB, free: 14.04 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.163, allocations: 1.745 MB / 0.841 GB, free: 12.29 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/1.166, allocations: 2.313 MB / 0.8433 GB, free: 9.777 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/1.17, allocations: 1.94 MB / 0.8451 GB, free: 7.82 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.17, allocations: 4 kB / 0.8452 GB, free: 7.816 MB / 0.573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05135/1.221, allocations: 17.24 MB / 0.862 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.3727/1.594, allocations: 6.665 MB / 0.8685 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.869e-05/1.594, allocations: 15.98 kB / 0.8685 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02393/1.618, allocations: 6.845 MB / 0.8752 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.621, allocations: 0.5431 MB / 0.8757 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05831/1.679, allocations: 25.05 MB / 0.9002 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/1.685, allocations: 0.6152 MB / 0.9008 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/1.686, allocations: 129.2 kB / 0.9009 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.686, allocations: 3.281 kB / 0.9009 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04542/1.731, allocations: 16.76 MB / 0.9173 GB, free: 128 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.292e-05/1.731, allocations: 15.56 kB / 0.9173 GB, free: 128 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02018/1.752, allocations: 6.844 MB / 0.924 GB, free: 128 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/1.754, allocations: 0.5315 MB / 0.9245 GB, free: 128 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05027/1.805, allocations: 25.05 MB / 0.949 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.811, allocations: 0.5909 MB / 0.9495 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006564/1.812, allocations: 126.3 kB / 0.9497 GB, free: 117.6 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.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 (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001086/1.813, allocations: 196.2 kB / 0.9499 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04858/1.862, allocations: 17.15 MB / 0.9666 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001881/1.863, allocations: 458 kB / 0.967 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04626/1.91, allocations: 17.6 MB / 0.9842 GB, free: 96.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/1.91, allocations: 43.95 kB / 0.9843 GB, free: 96.37 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.12e-05/1.91, allocations: 28 kB / 0.9843 GB, free: 96.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/1.91, allocations: 18.23 kB / 0.9843 GB, free: 96.34 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.05336/1.963, allocations: 22.49 MB / 1.006 GB, free: 79.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.963, allocations: 0 / 1.006 GB, free: 79.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.966, allocations: 405.2 kB / 1.007 GB, free: 79.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01986/1.986, allocations: 6.899 MB / 1.013 GB, free: 73.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008627/1.986, allocations: 19.75 kB / 1.013 GB, free: 73.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04687/2.033, allocations: 22.28 MB / 1.035 GB, free: 54.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/2.033, allocations: 3.938 kB / 1.035 GB, free: 54.01 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05219/2.086, allocations: 20.43 MB / 1.055 GB, free: 37.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/2.087, allocations: 0.5565 MB / 1.056 GB, free: 36.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/2.088, allocations: 8.031 kB / 1.056 GB, free: 36.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004665/2.093, allocations: 431.4 kB / 1.056 GB, free: 36.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002735/2.096, allocations: 0.7674 MB / 1.057 GB, free: 35.58 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003805/2.096, allocations: 92.92 kB / 1.057 GB, free: 35.49 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002607/2.099, allocations: 1.813 MB / 1.059 GB, free: 33.67 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.11e-07/2.099, allocations: 0 / 1.059 GB, free: 33.67 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01139/2.11, allocations: 2.605 MB / 1.061 GB, free: 31.2 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,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 (249): * Single equations (assignments): 247 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05343/2.164, allocations: 21.11 MB / 1.082 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.4249/2.589, allocations: 13.96 MB / 1.095 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/2.589, allocations: 2.078 kB / 1.096 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02105/2.61, allocations: 5.835 MB / 1.101 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/2.613, allocations: 245.4 kB / 1.101 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/2.633, allocations: 6.355 MB / 1.108 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/2.636, allocations: 2.595 MB / 1.11 GB, free: 134.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00318/2.639, allocations: 0.5971 MB / 1.111 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/2.642, allocations: 1.941 MB / 1.113 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.312e-06/2.642, allocations: 0 / 1.113 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2316/2.873, allocations: 138.7 MB / 1.248 GB, free: 50.01 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/2.873, allocations: 153.3 kB / 1.248 GB, free: 49.81 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.938/11.81, allocations: 0 / 1.248 GB, free: 49.81 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)