Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",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.0009381/0.0009381, allocations: 174.3 kB / 7.648 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.232/1.232, allocations: 221.5 MB / 229.6 MB, free: 7.605 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.000934/0.000934, allocations: 84.19 kB / 280.4 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4411/0.4411, allocations: 78.95 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.487e-05, allocations: 0 / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 69.51 MB / 0.5425 GB, free: 5.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4887, allocations: 98.79 MB / 0.639 GB, free: 15.21 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.489, allocations: 79.89 kB / 0.6391 GB, free: 15.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05877/0.5477, allocations: 22.03 MB / 0.6606 GB, free: 9.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5478, allocations: 0 / 0.6606 GB, free: 9.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.887e-05/0.5478, allocations: 12 kB / 0.6606 GB, free: 9.148 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003313/0.5512, allocations: 1.265 MB / 0.6618 GB, free: 7.836 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.5512, allocations: 8.031 kB / 0.6618 GB, free: 7.828 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.5536, allocations: 390.4 kB / 0.6622 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.5547, allocations: 0.6098 MB / 0.6628 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.5549, allocations: 126.4 kB / 0.6629 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.5551, allocations: 35.91 kB / 0.663 GB, free: 6.621 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001036/0.5561, allocations: 0.5542 MB / 0.6635 GB, free: 6.066 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.5573, allocations: 0.6173 MB / 0.6641 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.5573, allocations: 0 / 0.6641 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.5574, allocations: 0 / 0.6641 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.5574, allocations: 12 kB / 0.6641 GB, free: 5.422 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 preOpt removeSimpleEquations (simulation): time 0.005348/0.5627, allocations: 2.785 MB / 0.6668 GB, free: 2.527 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.5763, allocations: 3.67 MB / 0.6704 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006844/0.577, allocations: 383.6 kB / 0.6708 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.5771, allocations: 12.52 kB / 0.6708 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.5771, allocations: 43.06 kB / 0.6708 GB, free: 14.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.775e-06/0.5772, allocations: 0 / 0.6708 GB, free: 14.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005887/0.583, allocations: 1.894 MB / 0.6727 GB, free: 12.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.5831, allocations: 89.67 kB / 0.6728 GB, free: 12.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5841, allocations: 0.6259 MB / 0.6734 GB, free: 11.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.5842, allocations: 25.7 kB / 0.6734 GB, free: 11.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.5845, allocations: 380.6 kB / 0.6738 GB, free: 11.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.5847, allocations: 228.5 kB / 0.674 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.5848, allocations: 0 / 0.674 GB, free: 11.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5849, allocations: 334 kB / 0.6743 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.5855, allocations: 321.6 kB / 0.6746 GB, free: 10.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.5861, allocations: 427.5 kB / 0.675 GB, free: 9.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/0.5866, allocations: 364.5 kB / 0.6754 GB, free: 9.641 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5867, allocations: 0 / 0.6754 GB, free: 9.641 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006003/0.5927, allocations: 2.113 MB / 0.6774 GB, free: 7.508 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.593, allocations: 0.7099 MB / 0.6781 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.593, allocations: 0 / 0.6781 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/0.5967, allocations: 0.9366 MB / 0.679 GB, free: 5.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.5972, allocations: 115.8 kB / 0.6792 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.6047, allocations: 4.075 MB / 0.6831 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6058, allocations: 119.3 kB / 0.6832 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.606, allocations: 20 kB / 0.6833 GB, free: 1.359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.606, allocations: 4 kB / 0.6833 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005948/0.6119, allocations: 1.985 MB / 0.6852 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.612, allocations: 3.984 kB / 0.6852 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003585/0.6156, allocations: 0.9523 MB / 0.6861 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.6161, allocations: 96.73 kB / 0.6862 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.6235, allocations: 4.077 MB / 0.6902 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.6246, allocations: 99.38 kB / 0.6903 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.6247, allocations: 24 kB / 0.6903 GB, free: 9.98 MB / 0.4948 GB 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.000238/0.625, allocations: 125.9 kB / 0.6904 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005472/0.6304, allocations: 1.89 MB / 0.6923 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.6307, allocations: 93.12 kB / 0.6924 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/0.636, allocations: 1.968 MB / 0.6943 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.636, allocations: 12 kB / 0.6943 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.6361, allocations: 5.781 kB / 0.6943 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.6361, allocations: 3.984 kB / 0.6943 GB, free: 5.848 MB / 0.4948 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.007061/0.6431, allocations: 3.167 MB / 0.6974 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6432, allocations: 0 / 0.6974 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.6437, allocations: 87.83 kB / 0.6975 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.6465, allocations: 0.847 MB / 0.6983 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.6465, allocations: 7.984 kB / 0.6983 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/0.6521, allocations: 3.28 MB / 0.7015 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6521, allocations: 0 / 0.7015 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006136/0.6583, allocations: 2.522 MB / 0.704 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.6586, allocations: 187.8 kB / 0.7042 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.6588, allocations: 4 kB / 0.7042 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008492/0.6597, allocations: 71.92 kB / 0.7043 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.66, allocations: 124.3 kB / 0.7044 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.66, allocations: 16 kB / 0.7044 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000676/0.6607, allocations: 496.1 kB / 0.7049 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6607, allocations: 0 / 0.7049 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001348/0.6621, allocations: 447.3 kB / 0.7053 GB, free: 10.36 MB / 0.5105 GB 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.006479/0.6686, allocations: 3.248 MB / 0.7085 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006292/0.6749, allocations: 2.682 MB / 0.7111 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6749, allocations: 0 / 0.7111 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.6773, allocations: 1.097 MB / 0.7122 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005972/0.6779, allocations: 52.48 kB / 0.7122 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.6813, allocations: 1.578 MB / 0.7137 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.6819, allocations: 1.003 MB / 0.7147 GB, free: 432 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005661/0.6825, allocations: 118.9 kB / 0.7148 GB, free: 308 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.6828, allocations: 303.3 kB / 0.7151 GB, free: 8 kB / 0.5105 GB Notification: Performance of SimCode: time 6.12e-07/0.6829, allocations: 0 / 0.7151 GB, free: 8 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.7298, allocations: 23.8 MB / 0.7384 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.7299, allocations: 118.5 kB / 0.7385 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.442, allocations: 0 / 0.7385 GB, free: 8.25 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)