Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 89.36 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07726/0.07726, allocations: 12.19 MB / 321.5 MB, free: 1.211 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3017/0.3017, allocations: 78.06 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.403e-05/1.399e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 69.23 MB / 0.5818 GB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4486/0.5559, allocations: 99.63 MB / 0.6791 GB, free: 8.938 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.5561, allocations: 73.31 kB / 0.6792 GB, free: 8.902 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05412/0.6103, allocations: 21.19 MB / 0.6999 GB, free: 7.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.6103, allocations: 4 kB / 0.6999 GB, free: 7.426 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.13e-05/0.6104, allocations: 13.53 kB / 0.6999 GB, free: 7.414 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003317/0.6137, allocations: 1.267 MB / 0.7012 GB, free: 6.176 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.6138, allocations: 8.031 kB / 0.7012 GB, free: 6.168 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/0.6162, allocations: 389.2 kB / 0.7015 GB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.6173, allocations: 0.6211 MB / 0.7021 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.6175, allocations: 134.4 kB / 0.7023 GB, free: 5.148 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6177, allocations: 39.69 kB / 0.7023 GB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009738/0.6186, allocations: 0.5487 MB / 0.7028 GB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6197, allocations: 0.6158 MB / 0.7035 GB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6197, allocations: 0 / 0.7035 GB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.6198, allocations: 0 / 0.7035 GB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.6198, allocations: 12 kB / 0.7035 GB, free: 4.355 MB / 442.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.005281/0.6251, allocations: 2.786 MB / 0.7062 GB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/0.6382, allocations: 3.678 MB / 0.7098 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.639, allocations: 379.4 kB / 0.7101 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.6391, allocations: 12.55 kB / 0.7101 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.6392, allocations: 42.56 kB / 0.7102 GB, free: 14.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 5.36e-06/0.6392, allocations: 4 kB / 0.7102 GB, free: 14.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.005755/0.645, allocations: 1.888 MB / 0.712 GB, free: 13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.6451, allocations: 85.67 kB / 0.7121 GB, free: 12.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6462, allocations: 0.6289 MB / 0.7127 GB, free: 12.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/0.6464, allocations: 25.7 kB / 0.7128 GB, free: 12.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.6467, allocations: 384.8 kB / 0.7131 GB, free: 12.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.647, allocations: 227.5 kB / 0.7133 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.647, allocations: 0 / 0.7133 GB, free: 11.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6472, allocations: 339.5 kB / 0.7137 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.6478, allocations: 328.8 kB / 0.714 GB, free: 11.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005652/0.6483, allocations: 418 kB / 0.7144 GB, free: 11.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.6489, allocations: 365 kB / 0.7147 GB, free: 11.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6489, allocations: 0 / 0.7147 GB, free: 11.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006047/0.655, allocations: 2.102 MB / 0.7168 GB, free: 9.309 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003692/0.6554, allocations: 0.7131 MB / 0.7175 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.6554, allocations: 4 kB / 0.7175 GB, free: 8.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00369/0.6591, allocations: 0.9478 MB / 0.7184 GB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.6599, allocations: 111.7 kB / 0.7185 GB, free: 7.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007785/0.6677, allocations: 4.082 MB / 0.7225 GB, free: 4.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.669, allocations: 103.4 kB / 0.7226 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/0.6691, allocations: 26.42 kB / 0.7226 GB, free: 4.465 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6691, allocations: 4 kB / 0.7226 GB, free: 4.461 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005848/0.6749, allocations: 1.98 MB / 0.7246 GB, free: 2.871 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.675, allocations: 8 kB / 0.7246 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003492/0.6785, allocations: 0.9468 MB / 0.7255 GB, free: 2.047 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.6792, allocations: 99.77 kB / 0.7256 GB, free: 1.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/0.6866, allocations: 4.082 MB / 0.7296 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.688, allocations: 99.41 kB / 0.7297 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/0.6881, allocations: 23.8 kB / 0.7297 GB, free: 14.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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.0002906/0.6884, allocations: 120.8 kB / 0.7298 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005524/0.6939, allocations: 1.91 MB / 0.7317 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004098/0.6944, allocations: 82.97 kB / 0.7317 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/0.7001, allocations: 1.957 MB / 0.7337 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.7001, allocations: 8 kB / 0.7337 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.7002, allocations: 7.984 kB / 0.7337 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.7002, allocations: 11.88 kB / 0.7337 GB, free: 11.4 MB / 474.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.007838/0.708, allocations: 3.174 MB / 0.7368 GB, free: 8.395 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.7081, allocations: 4 kB / 0.7368 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.7087, allocations: 79.84 kB / 0.7369 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002859/0.7116, allocations: 0.8468 MB / 0.7377 GB, free: 7.457 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.7118, allocations: 4 kB / 0.7377 GB, free: 7.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/0.7179, allocations: 3.271 MB / 0.7409 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.718, allocations: 0 / 0.7409 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006705/0.7247, allocations: 2.526 MB / 0.7434 GB, free: 1.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.7252, allocations: 183.8 kB / 0.7435 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.7254, allocations: 8 kB / 0.7435 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008191/0.7262, allocations: 71.92 kB / 0.7436 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/0.7266, allocations: 124.4 kB / 0.7437 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/0.7267, allocations: 16 kB / 0.7437 GB, free: 1.086 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008723/0.7276, allocations: 491.2 kB / 0.7442 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7276, allocations: 0 / 0.7442 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001838/0.7294, allocations: 451.3 kB / 0.7446 GB, free: 172 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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.007007/0.7364, allocations: 3.235 MB / 0.7478 GB, free: 12.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006899/0.7434, allocations: 2.699 MB / 0.7504 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7435, allocations: 0 / 0.7504 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/0.7462, allocations: 1.089 MB / 0.7515 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.7471, allocations: 47.31 kB / 0.7515 GB, free: 8.879 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.7511, allocations: 1.593 MB / 0.7531 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.7518, allocations: 0.9995 MB / 0.7541 GB, free: 6.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006119/0.7524, allocations: 111 kB / 0.7542 GB, free: 6.094 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.7528, allocations: 299.3 kB / 0.7545 GB, free: 5.805 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7529, allocations: 4 kB / 0.7545 GB, free: 5.801 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/0.8125, allocations: 23.84 MB / 0.7777 GB, free: 14 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.8128, allocations: 129.4 kB / 0.7779 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.582, allocations: 0 / 0.7779 GB, free: 13.8 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)