Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.001438/0.001438, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.368/1.368, allocations: 222.9 MB / 239 MB, free: 4.719 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.001281/0.001281, allocations: 196.4 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5447/0.5447, allocations: 91.9 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 75.88 kB / 0.5015 GB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.358, allocations: 71.26 MB / 0.5711 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01492/0.373, allocations: 23.54 MB / 0.5941 GB, free: 20.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.384, allocations: 5.198 MB / 0.5991 GB, free: 16.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005097/0.3892, allocations: 51.53 kB / 0.5992 GB, free: 16.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.3923, allocations: 0.6723 MB / 0.5999 GB, free: 16.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007546/0.3999, allocations: 1.748 MB / 0.6016 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005351/0.4052, allocations: 1.921 MB / 0.6034 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009165/0.4144, allocations: 5.751 MB / 0.6091 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/0.4178, allocations: 1.328 MB / 0.6103 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.4224, allocations: 2.37 MB / 0.6127 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005027/0.4275, allocations: 2.98 MB / 0.6156 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002281/0.4298, allocations: 445.8 kB / 0.616 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.4331, allocations: 0.5931 MB / 0.6166 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002243/0.4354, allocations: 1.168 MB / 0.6177 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00595/0.4414, allocations: 2.654 MB / 0.6203 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.4528, allocations: 6.222 MB / 0.6264 GB, free: 2.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4529, allocations: 1.125 kB / 0.6264 GB, free: 2.027 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4529, allocations: 0 / 0.6264 GB, free: 2.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002919/0.4532, allocations: 0 / 0.6264 GB, free: 2.027 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03761/0.4908, allocations: 9.253 MB / 0.6354 GB, free: 12.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4909, allocations: 8.031 kB / 0.6354 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009009/0.4918, allocations: 488.9 kB / 0.6359 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/0.5192, allocations: 4.012 MB / 0.6398 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006811/0.526, allocations: 2.694 MB / 0.6424 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/0.5271, allocations: 0.9612 MB / 0.6434 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001636/0.5288, allocations: 352 kB / 0.6437 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.5412, allocations: 4.747 MB / 0.6484 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.017e-05/0.5413, allocations: 4 kB / 0.6484 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004873/0.5418, allocations: 140 kB / 0.6485 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.452e-05/0.5419, allocations: 84 kB / 0.6486 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.5523, allocations: 4.263 MB / 0.6527 GB, free: 10.75 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.04045/0.5928, allocations: 18.42 MB / 0.6707 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.6063, allocations: 5.037 MB / 0.6756 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006656/0.613, allocations: 2.798 MB / 0.6784 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008135/0.6138, allocations: 66.88 kB / 0.6784 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008436/0.6223, allocations: 3.201 MB / 0.6816 GB, free: 11.92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 9.377e-06/0.6223, allocations: 3.938 kB / 0.6816 GB, free: 11.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.3155/0.9378, allocations: 66.81 MB / 0.7468 GB, free: 8.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/0.9379, allocations: 153.8 kB / 0.747 GB, free: 8.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005675/0.9436, allocations: 3.266 MB / 0.7502 GB, free: 5.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/0.9448, allocations: 89.7 kB / 0.7502 GB, free: 5.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/0.9465, allocations: 1.971 MB / 0.7522 GB, free: 3.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002443/0.9489, allocations: 1.328 MB / 0.7535 GB, free: 2.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003383/0.9523, allocations: 0.6862 MB / 0.7541 GB, free: 1.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9525, allocations: 305.1 kB / 0.7544 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006682/0.9592, allocations: 2.62 MB / 0.757 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007324/0.9665, allocations: 3.249 MB / 0.7602 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3276/1.294, allocations: 19.19 MB / 0.7789 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/1.294, allocations: 5 kB / 0.7789 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05472/1.349, allocations: 17.24 MB / 0.7957 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/1.349, allocations: 63.12 kB / 0.7958 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/1.349, allocations: 18.12 kB / 0.7958 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02594/1.375, allocations: 7.318 MB / 0.803 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/1.379, allocations: 0.6761 MB / 0.8036 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.076/1.455, allocations: 33.89 MB / 0.8367 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006375/1.461, allocations: 0.6241 MB / 0.8373 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007601/1.462, allocations: 156 kB / 0.8375 GB, free: 130.6 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 (409): * Single equations (assignments): 406 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.001853/1.464, allocations: 0.6737 MB / 0.8381 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.465, allocations: 462.3 kB / 0.8386 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05047/1.515, allocations: 16.89 MB / 0.8551 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.515, allocations: 36 kB / 0.8551 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.322e-05/1.515, allocations: 28 kB / 0.8551 GB, free: 112.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.907e-05/1.515, allocations: 19.92 kB / 0.8552 GB, free: 112.5 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.05669/1.572, allocations: 21.93 MB / 0.8766 GB, free: 90.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/1.572, allocations: 0 / 0.8766 GB, free: 90.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/1.574, allocations: 391.5 kB / 0.8769 GB, free: 90.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02433/1.599, allocations: 7.356 MB / 0.8841 GB, free: 82.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00119/1.6, allocations: 71.98 kB / 0.8842 GB, free: 82.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07361/1.674, allocations: 31.88 MB / 0.9153 GB, free: 50.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.674, allocations: 4.062 kB / 0.9153 GB, free: 50.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05922/1.733, allocations: 20.28 MB / 0.9351 GB, free: 30.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.735, allocations: 0.557 MB / 0.9357 GB, free: 29.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.737, allocations: 67.98 kB / 0.9357 GB, free: 29.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005274/1.742, allocations: 379.6 kB / 0.9361 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003957/1.746, allocations: 0.7844 MB / 0.9369 GB, free: 28.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009134/1.747, allocations: 95.97 kB / 0.937 GB, free: 28.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002956/1.75, allocations: 2.149 MB / 0.9391 GB, free: 26.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/1.75, allocations: 0 / 0.9391 GB, free: 26.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007164/1.757, allocations: 1.81 MB / 0.9408 GB, free: 24.25 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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 {(98,38,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.06178/1.819, allocations: 20.97 MB / 0.9613 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03385/1.853, allocations: 9.499 MB / 0.9706 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.853, allocations: 4 kB / 0.9706 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02169/1.874, allocations: 6.202 MB / 0.9766 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006303/1.881, allocations: 386.7 kB / 0.977 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4238/2.305, allocations: 70.62 MB / 1.046 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/2.307, allocations: 2.452 MB / 1.048 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002211/2.309, allocations: 382.8 kB / 1.049 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002231/2.311, allocations: 1.993 MB / 1.051 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.073e-05/2.311, allocations: 4 kB / 1.051 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1672/2.479, allocations: 125.9 MB / 1.174 GB, free: 43.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/2.479, allocations: 236 kB / 1.174 GB, free: 42.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.817/8.296, allocations: 4.062 kB / 1.174 GB, free: 42.87 MB / 0.5919 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)