Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",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.0009574/0.0009572, allocations: 175.2 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.296/1.296, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008221/0.0008222, allocations: 95.78 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4402/0.4402, allocations: 78.03 MB / 414.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.982e-05, allocations: 0 / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3134, allocations: 69.34 MB / 0.5481 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.4264, allocations: 101.4 MB / 0.6471 GB, free: 14.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4267, allocations: 75.95 kB / 0.6471 GB, free: 14.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4979/0.9246, allocations: 99.92 MB / 0.7447 GB, free: 62.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.9246, allocations: 0 / 0.7447 GB, free: 62.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001992/0.9248, allocations: 84 kB / 0.7448 GB, free: 62.81 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01571/0.9405, allocations: 5.747 MB / 0.7504 GB, free: 56.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.9406, allocations: 15.97 kB / 0.7504 GB, free: 56.97 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001439/0.942, allocations: 492.8 kB / 0.7509 GB, free: 56.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/0.9584, allocations: 2.779 MB / 0.7536 GB, free: 53.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004712/0.9631, allocations: 2.217 MB / 0.7558 GB, free: 51.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007315/0.9639, allocations: 0.9963 MB / 0.7568 GB, free: 50.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008272/0.9647, allocations: 340 kB / 0.7571 GB, free: 49.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/0.9714, allocations: 4.084 MB / 0.7611 GB, free: 45.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-05/0.9715, allocations: 0 / 0.7611 GB, free: 45.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/0.9718, allocations: 140 kB / 0.7612 GB, free: 45.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.9719, allocations: 84 kB / 0.7613 GB, free: 45.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005622/0.9775, allocations: 3.609 MB / 0.7648 GB, free: 41.98 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.0312/1.009, allocations: 18.58 MB / 0.783 GB, free: 22.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00926/1.018, allocations: 4.79 MB / 0.7876 GB, free: 17.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00309/1.021, allocations: 2.217 MB / 0.7898 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004113/1.022, allocations: 74.89 kB / 0.7899 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003457/1.025, allocations: 2.601 MB / 0.7924 GB, free: 12.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.24e-06/1.025, allocations: 3.938 kB / 0.7924 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04864/1.074, allocations: 17.58 MB / 0.8096 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/1.074, allocations: 141.8 kB / 0.8097 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004055/1.078, allocations: 2.642 MB / 0.8123 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/1.079, allocations: 89.69 kB / 0.8124 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.081, allocations: 2.006 MB / 0.8143 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002201/1.083, allocations: 1.305 MB / 0.8156 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/1.083, allocations: 72 kB / 0.8157 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002797/1.084, allocations: 453.5 kB / 0.8161 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003344/1.087, allocations: 1.827 MB / 0.8179 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/1.091, allocations: 2.41 MB / 0.8202 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.094, allocations: 2.088 MB / 0.8223 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/1.094, allocations: 4 kB / 0.8223 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05078/1.145, allocations: 17.74 MB / 0.8396 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.222e-05/1.145, allocations: 63.41 kB / 0.8397 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.145, allocations: 16 kB / 0.8397 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02318/1.168, allocations: 6.977 MB / 0.8465 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/1.171, allocations: 0.5578 MB / 0.847 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05867/1.23, allocations: 25.78 MB / 0.8722 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005686/1.236, allocations: 0.7035 MB / 0.8729 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004224/1.236, allocations: 140 kB / 0.873 GB, free: 9.203 MB / 0.5573 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.0008035/1.237, allocations: 319 kB / 0.8733 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007756/1.238, allocations: 466.3 kB / 0.8738 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05179/1.289, allocations: 18.13 MB / 0.8915 GB, free: 6.223 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.466e-05/1.289, allocations: 36 kB / 0.8915 GB, free: 6.188 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/1.29, allocations: 31.94 kB / 0.8915 GB, free: 6.156 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/1.29, allocations: 23.92 kB / 0.8916 GB, free: 6.133 MB / 0.573 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.3337/1.623, allocations: 23.07 MB / 0.9141 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/1.623, allocations: 0 / 0.9141 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.626, allocations: 388.7 kB / 0.9145 GB, free: 138.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02099/1.647, allocations: 7.029 MB / 0.9213 GB, free: 138 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008619/1.648, allocations: 74.52 kB / 0.9214 GB, free: 138 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04995/1.698, allocations: 24.49 MB / 0.9453 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.698, allocations: 0 / 0.9453 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05153/1.749, allocations: 20.94 MB / 0.9658 GB, free: 123.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.75, allocations: 0.5526 MB / 0.9663 GB, free: 122.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009386/1.751, allocations: 66.75 kB / 0.9664 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004222/1.756, allocations: 498.6 kB / 0.9669 GB, free: 122.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002771/1.758, allocations: 0.7778 MB / 0.9676 GB, free: 121.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003563/1.759, allocations: 94.56 kB / 0.9677 GB, free: 121.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002615/1.761, allocations: 2.011 MB / 0.9697 GB, free: 119.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.6e-07/1.761, allocations: 0 / 0.9697 GB, free: 119.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004603/1.766, allocations: 1.756 MB / 0.9714 GB, free: 118.2 MB / 0.573 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.05139/1.817, allocations: 21.68 MB / 0.9926 GB, free: 100.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02076/1.838, allocations: 8.217 MB / 1.001 GB, free: 92.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.838, allocations: 1.875 kB / 1.001 GB, free: 92.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01654/1.855, allocations: 6.1 MB / 1.007 GB, free: 87.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.857, allocations: 310.3 kB / 1.007 GB, free: 87.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.869, allocations: 6.485 MB / 1.013 GB, free: 81.29 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.871, allocations: 2.538 MB / 1.016 GB, free: 79.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001361/1.872, allocations: 296.9 kB / 1.016 GB, free: 79.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/1.874, allocations: 1.972 MB / 1.018 GB, free: 77.39 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/1.874, allocations: 0 / 1.018 GB, free: 77.39 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4155/2.29, allocations: 113.3 MB / 1.128 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/2.29, allocations: 180.3 kB / 1.129 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.11/8.399, allocations: 1.969 kB / 1.129 GB, free: 156.1 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)