Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1",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.009862/0.009862, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.471/1.471, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001011, allocations: 102.2 kB / 290.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5327/0.5327, allocations: 78.58 MB / 419.9 MB, free: 36.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.000435, allocations: 8 kB / 499.9 MB, free: 7.188 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 69.36 MB / 0.5559 GB, free: 1.762 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.531, allocations: 98.93 MB / 0.6525 GB, free: 3.277 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.5312, allocations: 79.56 kB / 0.6526 GB, free: 3.234 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05826/0.5895, allocations: 22.17 MB / 0.6742 GB, free: 13.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.5896, allocations: 4 kB / 0.6742 GB, free: 13.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.846e-05/0.5896, allocations: 16 kB / 0.6742 GB, free: 13.59 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.004082/0.5937, allocations: 1.479 MB / 0.6757 GB, free: 12.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5938, allocations: 8.031 kB / 0.6757 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002461/0.5941, allocations: 102.5 kB / 0.6758 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.5965, allocations: 382.5 kB / 0.6762 GB, free: 11.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.5977, allocations: 0.6174 MB / 0.6768 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.5979, allocations: 150.7 kB / 0.6769 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.5981, allocations: 63.95 kB / 0.677 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.5998, allocations: 0.8149 MB / 0.6778 GB, free: 9.852 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5998, allocations: 0 / 0.6778 GB, free: 9.852 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.5999, allocations: 20 kB / 0.6778 GB, free: 9.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.5999, allocations: 16.75 kB / 0.6778 GB, free: 9.816 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.6015, allocations: 0.7313 MB / 0.6785 GB, free: 9.082 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006038/0.6075, allocations: 2.884 MB / 0.6813 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01368/0.6212, allocations: 3.94 MB / 0.6852 GB, free: 2.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.6214, allocations: 12.56 kB / 0.6852 GB, free: 2.078 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.6215, allocations: 43.11 kB / 0.6852 GB, free: 2.027 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.356e-06/0.6215, allocations: 0 / 0.6852 GB, free: 2.027 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01241/0.6339, allocations: 3.955 MB / 0.6891 GB, free: 14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.634, allocations: 87.64 kB / 0.6892 GB, free: 13.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.6352, allocations: 0.676 MB / 0.6898 GB, free: 13.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.6353, allocations: 41.7 kB / 0.6899 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.6356, allocations: 388.6 kB / 0.6902 GB, free: 12.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.6359, allocations: 228.6 kB / 0.6905 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.6359, allocations: 12 kB / 0.6905 GB, free: 12.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.636, allocations: 334 kB / 0.6908 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009298/0.637, allocations: 473.8 kB / 0.6912 GB, free: 11.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009643/0.638, allocations: 0.5481 MB / 0.6918 GB, free: 11.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/0.6389, allocations: 0.5043 MB / 0.6923 GB, free: 10.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.6389, allocations: 3.953 kB / 0.6923 GB, free: 10.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00728/0.6462, allocations: 2.552 MB / 0.6948 GB, free: 8.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002809/0.6465, allocations: 0.6109 MB / 0.6954 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6466, allocations: 7.938 kB / 0.6954 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004692/0.6513, allocations: 1.244 MB / 0.6966 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.6519, allocations: 103.9 kB / 0.6967 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.6645, allocations: 5.592 MB / 0.7021 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.6657, allocations: 111.4 kB / 0.7023 GB, free: 256 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.6659, allocations: 34.14 kB / 0.7023 GB, free: 224 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.6659, allocations: 4 kB / 0.7023 GB, free: 220 kB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007294/0.6732, allocations: 2.418 MB / 0.7046 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.6733, allocations: 7.984 kB / 0.7047 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004784/0.6781, allocations: 1.235 MB / 0.7059 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.6787, allocations: 99.89 kB / 0.706 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.6905, allocations: 5.571 MB / 0.7114 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.6917, allocations: 116.1 kB / 0.7115 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.6918, allocations: 23.98 kB / 0.7115 GB, free: 6.609 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005703/0.6924, allocations: 292.9 kB / 0.7118 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.6926, allocations: 85.91 kB / 0.7119 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006551/0.6992, allocations: 2.399 MB / 0.7142 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6992, allocations: 12 kB / 0.7142 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.6992, allocations: 4 kB / 0.7142 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.6993, allocations: 3.984 kB / 0.7143 GB, free: 3.785 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008646/0.7079, allocations: 3.69 MB / 0.7179 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.708, allocations: 4 kB / 0.7179 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.7086, allocations: 75.84 kB / 0.7179 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003546/0.7122, allocations: 1.087 MB / 0.719 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.7124, allocations: 23.92 kB / 0.719 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008411/0.7208, allocations: 4.279 MB / 0.7232 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.7209, allocations: 0 / 0.7232 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008061/0.7289, allocations: 3.099 MB / 0.7262 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/0.7294, allocations: 179.9 kB / 0.7264 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.7297, allocations: 15.98 kB / 0.7264 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.7306, allocations: 79.69 kB / 0.7265 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/0.7311, allocations: 124.3 kB / 0.7266 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.7312, allocations: 16 kB / 0.7266 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001026/0.7322, allocations: 0.5341 MB / 0.7271 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7322, allocations: 0 / 0.7271 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002004/0.7342, allocations: 499.2 kB / 0.7276 GB, free: 5.805 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.008374/0.7426, allocations: 3.819 MB / 0.7313 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007978/0.7506, allocations: 3.157 MB / 0.7344 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7507, allocations: 0 / 0.7344 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003044/0.7537, allocations: 1.26 MB / 0.7357 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.7545, allocations: 65.7 kB / 0.7357 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.7598, allocations: 3.73 MB / 0.7394 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/0.7606, allocations: 0.9984 MB / 0.7403 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004626/0.7611, allocations: 60.7 kB / 0.7404 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/0.7615, allocations: 303.3 kB / 0.7407 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/0.7616, allocations: 4 kB / 0.7407 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/0.8084, allocations: 25.87 MB / 0.766 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/0.8086, allocations: 226.1 kB / 0.7662 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/3.462, allocations: 0 / 0.7662 GB, free: 14.25 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)