Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.001316/0.001321, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 239.2 MB, free: 4.625 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.001545/0.001545, allocations: 203.7 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4927/0.4927, allocations: 91.9 MB / 431.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001713, allocations: 79.88 kB / 0.502 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3507, allocations: 71.26 MB / 0.5716 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01518/0.366, allocations: 21.92 MB / 0.593 GB, free: 21.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.3777, allocations: 4.894 MB / 0.5978 GB, free: 18.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006886/0.3847, allocations: 48.62 kB / 0.5978 GB, free: 18.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.3881, allocations: 0.878 MB / 0.5987 GB, free: 17.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00906/0.3971, allocations: 2.053 MB / 0.6007 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006037/0.4032, allocations: 2.069 MB / 0.6027 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.4134, allocations: 5.722 MB / 0.6083 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.4175, allocations: 1.327 MB / 0.6096 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006341/0.4239, allocations: 2.337 MB / 0.6119 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005988/0.43, allocations: 2.966 MB / 0.6148 GB, free: 8.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002847/0.4328, allocations: 442.2 kB / 0.6152 GB, free: 8.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.4368, allocations: 0.5901 MB / 0.6158 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002727/0.4396, allocations: 1.157 MB / 0.6169 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006693/0.4463, allocations: 2.628 MB / 0.6194 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.4596, allocations: 6.2 MB / 0.6255 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4596, allocations: 1.219 kB / 0.6255 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4596, allocations: 0.6094 kB / 0.6255 GB, free: 3.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003796/0.46, allocations: 0 / 0.6255 GB, free: 3.312 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.04043/0.5005, allocations: 9.218 MB / 0.6345 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5005, allocations: 8.031 kB / 0.6345 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002111/0.5027, allocations: 496.9 kB / 0.635 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02804/0.5307, allocations: 4.009 MB / 0.6389 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008382/0.5391, allocations: 2.674 MB / 0.6415 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001374/0.5405, allocations: 0.9651 MB / 0.6425 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.5428, allocations: 348 kB / 0.6428 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.5596, allocations: 4.743 MB / 0.6474 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001681/0.5598, allocations: 0 / 0.6474 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001662/0.5615, allocations: 144 kB / 0.6476 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-05/0.5616, allocations: 84 kB / 0.6476 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.5757, allocations: 4.252 MB / 0.6518 GB, free: 12.09 MB / 462.1 MB 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.0487/0.6244, allocations: 18.38 MB / 0.6697 GB, free: 8.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/0.6392, allocations: 5.016 MB / 0.6746 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007524/0.6468, allocations: 2.787 MB / 0.6774 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009078/0.6478, allocations: 70.91 kB / 0.6774 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009458/0.6573, allocations: 3.185 MB / 0.6805 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 1.403e-05/0.6574, allocations: 4 kB / 0.6805 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3124/0.9698, allocations: 67.77 MB / 0.7467 GB, free: 9.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.9699, allocations: 149.8 kB / 0.7469 GB, free: 9.199 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004645/0.9746, allocations: 3.246 MB / 0.75 GB, free: 5.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/0.9756, allocations: 89.7 kB / 0.7501 GB, free: 5.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.977, allocations: 1.974 MB / 0.752 GB, free: 3.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/0.979, allocations: 1.328 MB / 0.7533 GB, free: 2.504 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.9803, allocations: 0.6783 MB / 0.754 GB, free: 1.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.9804, allocations: 309 kB / 0.7543 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005632/0.9861, allocations: 2.605 MB / 0.7568 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006103/0.9922, allocations: 3.233 MB / 0.76 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3453/1.338, allocations: 19.06 MB / 0.7786 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-05/1.338, allocations: 2.75 kB / 0.7786 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05962/1.397, allocations: 17.29 MB / 0.7955 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/1.397, allocations: 70.08 kB / 0.7956 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/1.397, allocations: 17.38 kB / 0.7956 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02716/1.425, allocations: 7.169 MB / 0.8026 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/1.429, allocations: 0.6842 MB / 0.8033 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08038/1.509, allocations: 33.34 MB / 0.8358 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006341/1.516, allocations: 0.618 MB / 0.8364 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000964/1.517, allocations: 156 kB / 0.8366 GB, free: 131.9 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002147/1.519, allocations: 0.6705 MB / 0.8372 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.52, allocations: 454.4 kB / 0.8377 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05243/1.572, allocations: 16.88 MB / 0.8541 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/1.572, allocations: 36 kB / 0.8542 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/1.573, allocations: 31.98 kB / 0.8542 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001151/1.573, allocations: 19.94 kB / 0.8542 GB, free: 113.7 MB / 0.5606 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.05935/1.632, allocations: 21.89 MB / 0.8756 GB, free: 91.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/1.632, allocations: 0 / 0.8756 GB, free: 91.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/1.634, allocations: 391.5 kB / 0.876 GB, free: 91.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02474/1.659, allocations: 7.389 MB / 0.8832 GB, free: 84.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/1.66, allocations: 75.55 kB / 0.8833 GB, free: 83.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07543/1.736, allocations: 31.82 MB / 0.9143 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.736, allocations: 0 / 0.9143 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05905/1.795, allocations: 20.25 MB / 0.9341 GB, free: 31.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.796, allocations: 0.5532 MB / 0.9347 GB, free: 30.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/1.798, allocations: 68 kB / 0.9347 GB, free: 30.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004894/1.803, allocations: 375.5 kB / 0.9351 GB, free: 30.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003114/1.806, allocations: 0.7844 MB / 0.9358 GB, free: 29.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000472/1.806, allocations: 99.97 kB / 0.9359 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002664/1.809, allocations: 2.141 MB / 0.938 GB, free: 27.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.809, allocations: 0 / 0.938 GB, free: 27.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005672/1.815, allocations: 1.809 MB / 0.9398 GB, free: 25.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.06144/1.876, allocations: 20.92 MB / 0.9602 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03153/1.908, allocations: 9.321 MB / 0.9693 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.908, allocations: 0 / 0.9693 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02103/1.929, allocations: 6.191 MB / 0.9754 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/1.932, allocations: 386.3 kB / 0.9757 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3779/2.31, allocations: 68.82 MB / 1.043 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/2.312, allocations: 2.455 MB / 1.045 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001677/2.314, allocations: 376.8 kB / 1.046 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/2.316, allocations: 2.022 MB / 1.048 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/2.316, allocations: 1.531 kB / 1.048 GB, free: 170.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1661/2.482, allocations: 125.3 MB / 1.17 GB, free: 46.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/17.94, allocations: 7.922 kB / 1.17 GB, free: 46.89 MB / 0.5919 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)