Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00854/0.00854, allocations: 104.1 kB / 15.74 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 239.4 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 196.4 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5275/0.5275, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 80.75 kB / 0.5724 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1465, allocations: 71.28 MB / 0.642 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01856/0.1651, allocations: 21.74 MB / 0.6632 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1776, allocations: 4.857 MB / 0.6679 GB, free: 9.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005551/0.1832, allocations: 44 kB / 0.668 GB, free: 9.207 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.1871, allocations: 0.8789 MB / 0.6688 GB, free: 8.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009713/0.1969, allocations: 2.275 MB / 0.6711 GB, free: 6.035 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006789/0.2037, allocations: 2.063 MB / 0.6731 GB, free: 4.004 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00979/0.2135, allocations: 5.712 MB / 0.6787 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003605/0.2172, allocations: 1.316 MB / 0.6799 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/0.2219, allocations: 2.329 MB / 0.6822 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.2269, allocations: 2.932 MB / 0.6851 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002342/0.2292, allocations: 436 kB / 0.6855 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.2321, allocations: 0.5819 MB / 0.6861 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.2344, allocations: 1.147 MB / 0.6872 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005018/0.2394, allocations: 2.606 MB / 0.6897 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.2495, allocations: 6.216 MB / 0.6958 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.567e-06/0.2496, allocations: 4 kB / 0.6958 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2496, allocations: 3.938 kB / 0.6958 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003175/0.2499, allocations: 0 / 0.6958 GB, free: 12.59 MB / 0.4981 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.03284/0.2828, allocations: 9.15 MB / 0.7047 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.2829, allocations: 8.031 kB / 0.7048 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/0.2846, allocations: 492.8 kB / 0.7052 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/0.3118, allocations: 4.009 MB / 0.7091 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007315/0.3192, allocations: 2.654 MB / 0.7117 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/0.3203, allocations: 0.9534 MB / 0.7127 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.322, allocations: 355.9 kB / 0.713 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.3363, allocations: 4.719 MB / 0.7176 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.3365, allocations: 0 / 0.7176 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.3377, allocations: 144 kB / 0.7177 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-05/0.3378, allocations: 87.98 kB / 0.7178 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.3494, allocations: 4.244 MB / 0.722 GB, free: 1.426 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04113/0.3906, allocations: 18.18 MB / 0.7397 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.4037, allocations: 4.999 MB / 0.7446 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006421/0.4102, allocations: 2.779 MB / 0.7473 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/0.411, allocations: 66.83 kB / 0.7474 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007936/0.419, allocations: 3.173 MB / 0.7505 GB, free: 2.902 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 9.758e-06/0.419, allocations: 0 / 0.7505 GB, free: 2.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.5985/1.018, allocations: 68.19 MB / 0.8171 GB, free: 83.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/1.018, allocations: 144.8 kB / 0.8172 GB, free: 83.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004214/1.022, allocations: 3.224 MB / 0.8204 GB, free: 80.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.023, allocations: 96.25 kB / 0.8205 GB, free: 80.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001441/1.024, allocations: 1.97 MB / 0.8224 GB, free: 79.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.026, allocations: 1.306 MB / 0.8237 GB, free: 78.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/1.027, allocations: 0.6741 MB / 0.8243 GB, free: 77.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.356e-05/1.027, allocations: 305.1 kB / 0.8246 GB, free: 77.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004684/1.032, allocations: 2.577 MB / 0.8271 GB, free: 74.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005176/1.037, allocations: 3.201 MB / 0.8303 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06199/1.099, allocations: 18.75 MB / 0.8486 GB, free: 52.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-05/1.099, allocations: 11.94 kB / 0.8486 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0478/1.147, allocations: 16.92 MB / 0.8651 GB, free: 35.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.638e-05/1.147, allocations: 71.41 kB / 0.8652 GB, free: 35.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/1.147, allocations: 19.98 kB / 0.8652 GB, free: 35.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02247/1.17, allocations: 7.232 MB / 0.8723 GB, free: 27.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003278/1.173, allocations: 0.6592 MB / 0.8729 GB, free: 27.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08074/1.254, allocations: 33.71 MB / 0.9058 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006116/1.26, allocations: 0.6173 MB / 0.9064 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.261, allocations: 148 kB / 0.9066 GB, free: 8.516 MB / 0.5762 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.003345/1.265, allocations: 0.6754 MB / 0.9072 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001962/1.267, allocations: 458.3 kB / 0.9077 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05643/1.323, allocations: 16.84 MB / 0.9241 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.689e-05/1.323, allocations: 40 kB / 0.9241 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001307/1.323, allocations: 28 kB / 0.9242 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001328/1.324, allocations: 19.92 kB / 0.9242 GB, free: 6.383 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.07109/1.395, allocations: 21.82 MB / 0.9455 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-05/1.395, allocations: 6.375 kB / 0.9455 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/1.397, allocations: 383.5 kB / 0.9459 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02624/1.424, allocations: 7.371 MB / 0.9531 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001161/1.425, allocations: 71.98 kB / 0.9531 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09201/1.517, allocations: 31.8 MB / 0.9842 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.517, allocations: 4 kB / 0.9842 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06532/1.582, allocations: 20.2 MB / 1.004 GB, free: 4.254 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/1.584, allocations: 0.5493 MB / 1.004 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.586, allocations: 64 kB / 1.005 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005325/1.591, allocations: 379.5 kB / 1.005 GB, free: 3.246 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004054/1.595, allocations: 0.7844 MB / 1.006 GB, free: 2.461 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009313/1.596, allocations: 95.98 kB / 1.006 GB, free: 2.367 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004447/1.601, allocations: 2.109 MB / 1.008 GB, free: 260 kB / 0.67 GB Notification: Performance of sort global known variables: time 5.41e-07/1.601, allocations: 0 / 1.008 GB, free: 260 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.007859/1.609, allocations: 1.796 MB / 1.01 GB, free: 14.45 MB / 0.6856 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06322/1.672, allocations: 20.88 MB / 1.03 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.3715/2.043, allocations: 9.262 MB / 1.039 GB, free: 241.7 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/2.043, allocations: 0 / 1.039 GB, free: 241.7 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.02051/2.064, allocations: 6.18 MB / 1.045 GB, free: 241.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/2.068, allocations: 388.8 kB / 1.045 GB, free: 241.1 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1527/2.221, allocations: 58.02 MB / 1.102 GB, free: 208.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/2.224, allocations: 2.439 MB / 1.104 GB, free: 206.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002258/2.227, allocations: 379.1 kB / 1.105 GB, free: 205.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/2.23, allocations: 2.018 MB / 1.107 GB, free: 203.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.222e-06/2.23, allocations: 4 kB / 1.107 GB, free: 203.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1982/2.428, allocations: 129.1 MB / 1.233 GB, free: 75.05 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.59/26.02, allocations: 18.52 kB / 1.233 GB, free: 75.04 MB / 0.7012 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)