Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS,fileNamePrefix="OpenIPSL_release_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.0009286/0.0009286, allocations: 172.5 kB / 7.647 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.286/1.286, allocations: 221.5 MB / 229.6 MB, free: 3.133 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.001389/0.001389, allocations: 85.48 kB / 280.5 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4531/0.4531, allocations: 78.12 MB / 409.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.648e-05, allocations: 4 kB / 485 MB, free: 4.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3097, allocations: 69.35 MB / 0.5414 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.4395, allocations: 100.3 MB / 0.6393 GB, free: 4.367 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4398, allocations: 71.97 kB / 0.6394 GB, free: 4.297 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1038/0.5436, allocations: 29.5 MB / 0.6682 GB, free: 6.617 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5437, allocations: 0 / 0.6682 GB, free: 6.617 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.217e-05/0.5437, allocations: 20 kB / 0.6682 GB, free: 6.598 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.003392/0.5471, allocations: 1.461 MB / 0.6697 GB, free: 5.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5472, allocations: 15.95 kB / 0.6697 GB, free: 5.074 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.5494, allocations: 422 kB / 0.6701 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.5507, allocations: 0.8644 MB / 0.6709 GB, free: 3.738 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.551, allocations: 215.8 kB / 0.6711 GB, free: 3.492 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.5511, allocations: 51.94 kB / 0.6712 GB, free: 3.441 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001274/0.5524, allocations: 0.7563 MB / 0.6719 GB, free: 2.684 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.5536, allocations: 0.7547 MB / 0.6727 GB, free: 1.914 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5537, allocations: 4 kB / 0.6727 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.5538, allocations: 0 / 0.6727 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.5538, allocations: 12 kB / 0.6727 GB, free: 1.898 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.3158/0.8696, allocations: 3.491 MB / 0.6761 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02292/0.8925, allocations: 3.982 MB / 0.68 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.8943, allocations: 460.6 kB / 0.6804 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.8945, allocations: 14.64 kB / 0.6804 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.8945, allocations: 41.45 kB / 0.6805 GB, free: 105.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 5.24e-06/0.8945, allocations: 4 kB / 0.6805 GB, free: 105.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.009352/0.9039, allocations: 2.098 MB / 0.6825 GB, free: 105.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.904, allocations: 111.9 kB / 0.6826 GB, free: 105.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.9063, allocations: 0.8646 MB / 0.6835 GB, free: 105 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003025/0.9066, allocations: 25.7 kB / 0.6835 GB, free: 104.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/0.9071, allocations: 489.6 kB / 0.684 GB, free: 104.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.9076, allocations: 267 kB / 0.6842 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.9077, allocations: 0 / 0.6842 GB, free: 104.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.9077, allocations: 339.9 kB / 0.6845 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.9088, allocations: 417.6 kB / 0.6849 GB, free: 104.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.9098, allocations: 0.5088 MB / 0.6854 GB, free: 104.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.9109, allocations: 458.5 kB / 0.6859 GB, free: 104.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.9109, allocations: 0 / 0.6859 GB, free: 104.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.009535/0.9205, allocations: 2.316 MB / 0.6881 GB, free: 104.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.9206, allocations: 0.624 MB / 0.6887 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.9207, allocations: 3.953 kB / 0.6887 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.9261, allocations: 0.9409 MB / 0.6897 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.9276, allocations: 166.3 kB / 0.6898 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.9384, allocations: 4.074 MB / 0.6938 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.9409, allocations: 151 kB / 0.6939 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.9411, allocations: 38.75 kB / 0.694 GB, free: 101.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.9412, allocations: 7.125 kB / 0.694 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009359/0.9505, allocations: 2.159 MB / 0.6961 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.9506, allocations: 4.5 kB / 0.6961 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005554/0.9562, allocations: 0.9461 MB / 0.697 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.9576, allocations: 151.5 kB / 0.6972 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.9681, allocations: 4.083 MB / 0.7012 GB, free: 97.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.9704, allocations: 142.1 kB / 0.7013 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.9706, allocations: 19 kB / 0.7013 GB, free: 97.77 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.0003459/0.9709, allocations: 120.6 kB / 0.7014 GB, free: 97.66 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008866/0.9798, allocations: 2.1 MB / 0.7035 GB, free: 97.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007589/0.9806, allocations: 114.1 kB / 0.7036 GB, free: 96.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/0.9894, allocations: 2.167 MB / 0.7057 GB, free: 96.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.9895, allocations: 9.406 kB / 0.7057 GB, free: 96.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9895, allocations: 2.969 kB / 0.7057 GB, free: 96.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.9895, allocations: 3.281 kB / 0.7057 GB, free: 96.32 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.01193/1.001, allocations: 3.688 MB / 0.7093 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.002, allocations: 2.375 kB / 0.7093 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.003, allocations: 115.8 kB / 0.7094 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004225/1.007, allocations: 0.8413 MB / 0.7102 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/1.007, allocations: 11.62 kB / 0.7103 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007681/1.015, allocations: 3.278 MB / 0.7135 GB, free: 91.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.015, allocations: 4 kB / 0.7135 GB, free: 91.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008956/1.024, allocations: 2.822 MB / 0.7162 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/1.025, allocations: 228.8 kB / 0.7164 GB, free: 88.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/1.025, allocations: 8 kB / 0.7164 GB, free: 88.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/1.027, allocations: 119.3 kB / 0.7166 GB, free: 88.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004489/1.027, allocations: 137.4 kB / 0.7167 GB, free: 88.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.18e-05/1.027, allocations: 16 kB / 0.7167 GB, free: 88.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001174/1.028, allocations: 0.6654 MB / 0.7174 GB, free: 88.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.028, allocations: 0 / 0.7174 GB, free: 88.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002153/1.031, allocations: 0.4937 MB / 0.7178 GB, free: 87.56 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.01012/1.041, allocations: 3.494 MB / 0.7212 GB, free: 84.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0101/1.051, allocations: 2.991 MB / 0.7242 GB, free: 81.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.051, allocations: 5.5 kB / 0.7242 GB, free: 81.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004048/1.055, allocations: 1.188 MB / 0.7253 GB, free: 80.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.056, allocations: 87.7 kB / 0.7254 GB, free: 80.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/1.063, allocations: 2.068 MB / 0.7274 GB, free: 78.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/1.064, allocations: 1.112 MB / 0.7285 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00164/1.066, allocations: 208.7 kB / 0.7287 GB, free: 77.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/1.066, allocations: 404.9 kB / 0.7291 GB, free: 77.08 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/1.066, allocations: 4 kB / 0.7291 GB, free: 77.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07216/1.139, allocations: 28.88 MB / 0.7573 GB, free: 49.18 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/1.139, allocations: 137 kB / 0.7574 GB, free: 48.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.967, allocations: 5.75 kB / 0.7575 GB, free: 48.98 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_PSS.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR_PSS.pipe 2>&1)