Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network",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.001022/0.001022, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.286/1.286, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.000832/0.000832, allocations: 95.16 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4564/0.4564, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.15e-05, allocations: 0 / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3106, allocations: 69.33 MB / 0.5481 GB, free: 20.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.4247, allocations: 99.36 MB / 0.6451 GB, free: 1.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.425, allocations: 79.95 kB / 0.6452 GB, free: 1.121 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06384/0.4889, allocations: 22.99 MB / 0.6676 GB, free: 9.941 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4889, allocations: 0 / 0.6676 GB, free: 9.941 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.223e-05/0.489, allocations: 16 kB / 0.6677 GB, free: 9.926 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003681/0.4927, allocations: 1.318 MB / 0.6689 GB, free: 8.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.4928, allocations: 11.97 kB / 0.669 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002749/0.493, allocations: 106.5 kB / 0.6691 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.4954, allocations: 398.3 kB / 0.6694 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4967, allocations: 0.6371 MB / 0.6701 GB, free: 7.371 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.497, allocations: 214.1 kB / 0.6703 GB, free: 7.129 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.4971, allocations: 67.86 kB / 0.6703 GB, free: 7.062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.4986, allocations: 0.7331 MB / 0.671 GB, free: 6.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4986, allocations: 4 kB / 0.6711 GB, free: 6.312 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.4987, allocations: 24 kB / 0.6711 GB, free: 6.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.4987, allocations: 16 kB / 0.6711 GB, free: 6.273 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.4999, allocations: 0.6105 MB / 0.6717 GB, free: 5.66 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.005633/0.5055, allocations: 3.15 MB / 0.6748 GB, free: 2.363 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2881/0.7936, allocations: 3.725 MB / 0.6784 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009291/0.7946, allocations: 413.4 kB / 0.6788 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-05/0.7947, allocations: 9.797 kB / 0.6788 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.7947, allocations: 42.84 kB / 0.6788 GB, free: 107.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.006e-06/0.7947, allocations: 0 / 0.6788 GB, free: 107.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.006248/0.801, allocations: 1.995 MB / 0.6808 GB, free: 107.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.801, allocations: 88.33 kB / 0.6809 GB, free: 107.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.8021, allocations: 0.6754 MB / 0.6815 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-05/0.8022, allocations: 41.14 kB / 0.6816 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.8025, allocations: 398.2 kB / 0.682 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.8027, allocations: 249.5 kB / 0.6822 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.8028, allocations: 14.5 kB / 0.6822 GB, free: 107.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.478e-05/0.8029, allocations: 335.1 kB / 0.6825 GB, free: 107 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/0.8035, allocations: 349.5 kB / 0.6829 GB, free: 107 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.8042, allocations: 456.5 kB / 0.6833 GB, free: 106.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.8048, allocations: 384.4 kB / 0.6837 GB, free: 106.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8048, allocations: 4.5 kB / 0.6837 GB, free: 106.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006522/0.8114, allocations: 2.243 MB / 0.6859 GB, free: 106.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.8115, allocations: 0.7061 MB / 0.6865 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.8116, allocations: 1.688 kB / 0.6865 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/0.8153, allocations: 1.066 MB / 0.6876 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.8159, allocations: 110.4 kB / 0.6877 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007996/0.8239, allocations: 4.739 MB / 0.6923 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.825, allocations: 127.6 kB / 0.6924 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.8251, allocations: 28.48 kB / 0.6925 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.8251, allocations: 3.625 kB / 0.6925 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005754/0.8308, allocations: 2.125 MB / 0.6945 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8309, allocations: 3.562 kB / 0.6946 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/0.8346, allocations: 1.063 MB / 0.6956 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.8351, allocations: 102.2 kB / 0.6957 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.8429, allocations: 4.735 MB / 0.7003 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.844, allocations: 116.1 kB / 0.7004 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.8441, allocations: 26.62 kB / 0.7004 GB, free: 100.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * 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: 0 * Non-linear torn systems: 1 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.8443, allocations: 152.2 kB / 0.7006 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.8445, allocations: 91.58 kB / 0.7007 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00513/0.8496, allocations: 2.1 MB / 0.7027 GB, free: 99.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.8497, allocations: 7.156 kB / 0.7027 GB, free: 99.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8497, allocations: 6.562 kB / 0.7027 GB, free: 99.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.8497, allocations: 7.469 kB / 0.7028 GB, free: 99.56 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.006561/0.8562, allocations: 3.419 MB / 0.7061 GB, free: 98.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8563, allocations: 0 / 0.7061 GB, free: 98.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.8568, allocations: 95.33 kB / 0.7062 GB, free: 97.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.8594, allocations: 0.8883 MB / 0.707 GB, free: 97.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/0.8595, allocations: 16 kB / 0.7071 GB, free: 97.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005415/0.8649, allocations: 3.636 MB / 0.7106 GB, free: 93.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.865, allocations: 4 kB / 0.7106 GB, free: 93.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/0.8706, allocations: 2.678 MB / 0.7132 GB, free: 91.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.8709, allocations: 186.1 kB / 0.7134 GB, free: 91.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.8711, allocations: 16 kB / 0.7134 GB, free: 91.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/0.8719, allocations: 88.33 kB / 0.7135 GB, free: 91.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.8722, allocations: 125.3 kB / 0.7136 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.8723, allocations: 23.31 kB / 0.7137 GB, free: 91.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005708/0.8729, allocations: 0.5238 MB / 0.7142 GB, free: 90.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8729, allocations: 0 / 0.7142 GB, free: 90.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001201/0.8741, allocations: 0.5078 MB / 0.7147 GB, free: 90.07 MB / 490.7 MB 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: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005935/0.88, allocations: 3.412 MB / 0.718 GB, free: 86.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006206/0.8862, allocations: 2.949 MB / 0.7209 GB, free: 84.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.8863, allocations: 0 / 0.7209 GB, free: 84.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.8888, allocations: 1.196 MB / 0.722 GB, free: 83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.8895, allocations: 68.53 kB / 0.7221 GB, free: 82.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.8931, allocations: 1.719 MB / 0.7238 GB, free: 81.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.8935, allocations: 1.018 MB / 0.7248 GB, free: 80.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005724/0.8941, allocations: 118.2 kB / 0.7249 GB, free: 80.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.8945, allocations: 315.9 kB / 0.7252 GB, free: 80.14 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.8945, allocations: 0 / 0.7252 GB, free: 80.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04378/0.9383, allocations: 28.54 MB / 0.7531 GB, free: 52.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.9384, allocations: 197.3 kB / 0.7532 GB, free: 52.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/3.747, allocations: 3.5 kB / 0.7533 GB, free: 52.74 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)