Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.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 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.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",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.001354/0.001354, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009557/0.0009556, allocations: 86.86 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4709/0.4709, allocations: 78.94 MB / 410.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.077e-05, allocations: 0 / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 69.52 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.5181, allocations: 98.02 MB / 0.6383 GB, free: 15.95 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.5183, allocations: 81.33 kB / 0.6383 GB, free: 15.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08117/0.5995, allocations: 29.83 MB / 0.6675 GB, free: 2.082 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5995, allocations: 0 / 0.6675 GB, free: 2.082 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001494/0.5997, allocations: 23.94 kB / 0.6675 GB, free: 2.059 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005201/0.6049, allocations: 1.688 MB / 0.6691 GB, free: 320 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.605, allocations: 12.03 kB / 0.6691 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/0.6086, allocations: 0.5564 MB / 0.6697 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.6103, allocations: 0.7729 MB / 0.6704 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.6105, allocations: 213.5 kB / 0.6706 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.6108, allocations: 48 kB / 0.6707 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001594/0.6124, allocations: 0.7928 MB / 0.6715 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.6139, allocations: 0.8259 MB / 0.6723 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.614, allocations: 0 / 0.6723 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.614, allocations: 0 / 0.6723 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.6141, allocations: 20 kB / 0.6723 GB, free: 12.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.006577/0.6206, allocations: 3.701 MB / 0.6759 GB, free: 9.098 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007099/0.6278, allocations: 2.576 MB / 0.6784 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.6285, allocations: 0.5039 MB / 0.6789 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.6286, allocations: 20.77 kB / 0.6789 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.6287, allocations: 43.33 kB / 0.679 GB, free: 5.844 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.577e-06/0.6287, allocations: 4 kB / 0.679 GB, free: 5.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01174/0.6404, allocations: 3.801 MB / 0.6827 GB, free: 2.023 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.6405, allocations: 141.3 kB / 0.6828 GB, free: 1.855 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.6418, allocations: 0.8145 MB / 0.6836 GB, free: 1.027 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.642, allocations: 25.7 kB / 0.6836 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.6424, allocations: 0.505 MB / 0.6841 GB, free: 496 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.6427, allocations: 319.2 kB / 0.6844 GB, free: 172 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.6428, allocations: 3.938 kB / 0.6844 GB, free: 168 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.643, allocations: 337.9 kB / 0.6848 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.6437, allocations: 424.2 kB / 0.6852 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.6445, allocations: 0.5388 MB / 0.6857 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007665/0.6452, allocations: 480.9 kB / 0.6862 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.6452, allocations: 4 kB / 0.6862 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01196/0.6572, allocations: 3.93 MB / 0.69 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000448/0.6577, allocations: 1.198 MB / 0.6912 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.6577, allocations: 11.94 kB / 0.6912 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004995/0.6627, allocations: 1.441 MB / 0.6926 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.6636, allocations: 167.7 kB / 0.6927 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.6766, allocations: 6.402 MB / 0.699 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.6782, allocations: 171.3 kB / 0.6992 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.6784, allocations: 38.36 kB / 0.6992 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6784, allocations: 4 kB / 0.6992 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01161/0.69, allocations: 3.786 MB / 0.7029 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.6901, allocations: 4 kB / 0.7029 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/0.695, allocations: 1.449 MB / 0.7043 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/0.6958, allocations: 151.8 kB / 0.7045 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.7086, allocations: 6.406 MB / 0.7107 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.7102, allocations: 151.4 kB / 0.7109 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.7104, allocations: 35.98 kB / 0.7109 GB, free: 4.66 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004229/0.7108, allocations: 159.4 kB / 0.7111 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01178/0.7226, allocations: 3.804 MB / 0.7148 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/0.7231, allocations: 118.5 kB / 0.7149 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.7347, allocations: 3.89 MB / 0.7187 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.7347, allocations: 12 kB / 0.7187 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7347, allocations: 7.984 kB / 0.7187 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.7348, allocations: 15.91 kB / 0.7187 GB, free: 12.61 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 postOpt removeSimpleEquations (simulation): time 0.01368/0.7484, allocations: 5.41 MB / 0.724 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7485, allocations: 4.031 kB / 0.724 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.7491, allocations: 115.8 kB / 0.7241 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004529/0.7537, allocations: 1.402 MB / 0.7255 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.7538, allocations: 11.98 kB / 0.7255 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.7654, allocations: 5.626 MB / 0.731 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.7655, allocations: 4 kB / 0.731 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/0.7785, allocations: 4.606 MB / 0.7355 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/0.7791, allocations: 227.2 kB / 0.7357 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/0.7796, allocations: 4 kB / 0.7357 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.7811, allocations: 123.9 kB / 0.7358 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000737/0.7819, allocations: 181.3 kB / 0.736 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.7821, allocations: 25.5 kB / 0.736 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001184/0.7833, allocations: 0.6214 MB / 0.7366 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7833, allocations: 0 / 0.7366 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002657/0.7859, allocations: 0.6006 MB / 0.7372 GB, free: 9.395 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01344/0.7994, allocations: 5.254 MB / 0.7423 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009031/0.8085, allocations: 3.45 MB / 0.7457 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.8085, allocations: 0.8438 kB / 0.7457 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003874/0.8124, allocations: 1.395 MB / 0.7471 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.8134, allocations: 94.75 kB / 0.7472 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.8178, allocations: 1.839 MB / 0.749 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.8186, allocations: 1.158 MB / 0.7501 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009457/0.8195, allocations: 189.7 kB / 0.7503 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.8201, allocations: 467.3 kB / 0.7507 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/0.8201, allocations: 2.438 kB / 0.7507 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3189/1.139, allocations: 35.21 MB / 0.7851 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001295/1.139, allocations: 145.9 kB / 0.7853 GB, free: 144.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/4.141, allocations: 0 / 0.7853 GB, free: 144.9 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)