Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.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.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",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.001023/0.001023, allocations: 174 kB / 12.73 MB, free: 2.586 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.164/1.164, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0007786/0.0007786, allocations: 84.98 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4167/0.4167, allocations: 78.9 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.861e-05, allocations: 8 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.27, allocations: 69.5 MB / 0.5492 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.3837, allocations: 101.6 MB / 0.6484 GB, free: 13.97 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.3839, allocations: 71.97 kB / 0.6485 GB, free: 13.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3294/0.7134, allocations: 30.02 MB / 0.6778 GB, free: 104.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.7134, allocations: 0 / 0.6778 GB, free: 104.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001672/0.7136, allocations: 22.03 kB / 0.6778 GB, free: 104.9 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003902/0.7175, allocations: 1.468 MB / 0.6793 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.7176, allocations: 13.06 kB / 0.6793 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.7177, allocations: 111.1 kB / 0.6794 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.7201, allocations: 414.6 kB / 0.6798 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.7215, allocations: 0.8685 MB / 0.6806 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.7217, allocations: 246.3 kB / 0.6809 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.7219, allocations: 70.86 kB / 0.6809 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.7234, allocations: 0.8504 MB / 0.6818 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.7234, allocations: 4.406 kB / 0.6818 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.7235, allocations: 26.16 kB / 0.6818 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.7235, allocations: 16.38 kB / 0.6818 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.7249, allocations: 0.7825 MB / 0.6826 GB, free: 103.8 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.005949/0.7308, allocations: 3.634 MB / 0.6861 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.7437, allocations: 3.998 MB / 0.69 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/0.7446, allocations: 483.6 kB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.856e-05/0.7447, allocations: 15.86 kB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.7448, allocations: 38.28 kB / 0.6906 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 4.278e-06/0.7448, allocations: 4 kB / 0.6906 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005445/0.7502, allocations: 2.144 MB / 0.6926 GB, free: 102.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.7503, allocations: 118.2 kB / 0.6928 GB, free: 102.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.7515, allocations: 0.9326 MB / 0.6937 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/0.7516, allocations: 41.67 kB / 0.6937 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.7519, allocations: 478.4 kB / 0.6942 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.7521, allocations: 280.4 kB / 0.6944 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.7521, allocations: 14.59 kB / 0.6944 GB, free: 101.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.7522, allocations: 335.2 kB / 0.6948 GB, free: 101 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.7528, allocations: 434.4 kB / 0.6952 GB, free: 100.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.7534, allocations: 0.531 MB / 0.6957 GB, free: 100.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.7541, allocations: 466.4 kB / 0.6961 GB, free: 100.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7541, allocations: 3.406 kB / 0.6962 GB, free: 100.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00561/0.7597, allocations: 2.395 MB / 0.6985 GB, free: 99.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.7598, allocations: 0.6186 MB / 0.6991 GB, free: 98.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.7599, allocations: 0 / 0.6991 GB, free: 98.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/0.7631, allocations: 0.9701 MB / 0.7 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/0.764, allocations: 159.8 kB / 0.7002 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.7704, allocations: 4.166 MB / 0.7043 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.7719, allocations: 187.9 kB / 0.7044 GB, free: 96.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.772, allocations: 25.59 kB / 0.7045 GB, free: 96.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.772, allocations: 5.531 kB / 0.7045 GB, free: 96.03 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005367/0.7774, allocations: 2.247 MB / 0.7067 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7774, allocations: 3.5 kB / 0.7067 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.7805, allocations: 0.9563 MB / 0.7076 GB, free: 95.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/0.7812, allocations: 160.2 kB / 0.7078 GB, free: 95.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006142/0.7874, allocations: 4.17 MB / 0.7118 GB, free: 91.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.7888, allocations: 158.5 kB / 0.712 GB, free: 91.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.7888, allocations: 20 kB / 0.712 GB, free: 91.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.7891, allocations: 153.6 kB / 0.7121 GB, free: 90.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.7893, allocations: 110.6 kB / 0.7122 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/0.7943, allocations: 2.247 MB / 0.7144 GB, free: 89.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7943, allocations: 12 kB / 0.7145 GB, free: 89.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7944, allocations: 4 kB / 0.7145 GB, free: 89.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.7944, allocations: 5.812 kB / 0.7145 GB, free: 89.02 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 postOpt removeSimpleEquations (simulation): time 0.006486/0.8009, allocations: 3.832 MB / 0.7182 GB, free: 85.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8009, allocations: 4 kB / 0.7182 GB, free: 85.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.8015, allocations: 113.8 kB / 0.7183 GB, free: 85.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/0.8039, allocations: 0.8522 MB / 0.7192 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/0.804, allocations: 20 kB / 0.7192 GB, free: 85.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004658/0.8087, allocations: 3.368 MB / 0.7225 GB, free: 81.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8087, allocations: 8.031 kB / 0.7225 GB, free: 81.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005632/0.8143, allocations: 2.895 MB / 0.7253 GB, free: 79.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.8147, allocations: 225.4 kB / 0.7255 GB, free: 79.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.8148, allocations: 31.56 kB / 0.7255 GB, free: 79.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8159, allocations: 130.9 kB / 0.7257 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.8162, allocations: 126.7 kB / 0.7258 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.8163, allocations: 23.7 kB / 0.7258 GB, free: 78.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000813/0.8171, allocations: 0.7272 MB / 0.7265 GB, free: 78.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8171, allocations: 0 / 0.7265 GB, free: 78.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0012/0.8183, allocations: 0.5459 MB / 0.7271 GB, free: 77.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005859/0.8242, allocations: 3.56 MB / 0.7305 GB, free: 74.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005811/0.83, allocations: 3.084 MB / 0.7335 GB, free: 71.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.83, allocations: 192 / 0.7335 GB, free: 71.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.8323, allocations: 1.213 MB / 0.7347 GB, free: 70.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.8331, allocations: 109.7 kB / 0.7348 GB, free: 70.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.8367, allocations: 2.14 MB / 0.7369 GB, free: 68.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.8371, allocations: 1.106 MB / 0.738 GB, free: 67.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007766/0.8379, allocations: 211.6 kB / 0.7382 GB, free: 67.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.8384, allocations: 403.3 kB / 0.7386 GB, free: 66.84 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/0.8384, allocations: 0 / 0.7386 GB, free: 66.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/0.8787, allocations: 31.5 MB / 0.7693 GB, free: 35.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/0.8788, allocations: 155.8 kB / 0.7695 GB, free: 35.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.601, allocations: 0 / 0.7695 GB, free: 35.59 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)