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.008227/0.008227, allocations: 170.6 kB / 15.11 MB, free: 5.973 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.393/1.393, allocations: 223.2 MB / 239 MB, free: 1.812 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.0008664/0.0008661, allocations: 101 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4645/0.4645, allocations: 78.6 MB / 419.9 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 8 kB / 499.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3606, allocations: 69.34 MB / 0.5559 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4811, allocations: 99.43 MB / 0.653 GB, free: 7.078 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4814, allocations: 86.27 kB / 0.653 GB, free: 6.996 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06166/0.543, allocations: 23.04 MB / 0.6755 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5431, allocations: 4 kB / 0.6755 GB, free: 15.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001136/0.5432, allocations: 19.94 kB / 0.6756 GB, free: 15.79 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.004369/0.5476, allocations: 1.53 MB / 0.6771 GB, free: 14.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5476, allocations: 8.031 kB / 0.6771 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003089/0.548, allocations: 106.5 kB / 0.6772 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.5504, allocations: 398.4 kB / 0.6776 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.5517, allocations: 0.6409 MB / 0.6782 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.5519, allocations: 214.1 kB / 0.6784 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.5521, allocations: 63.95 kB / 0.6784 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.5539, allocations: 0.8735 MB / 0.6793 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.5539, allocations: 0 / 0.6793 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/0.554, allocations: 28 kB / 0.6793 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.554, allocations: 12 kB / 0.6793 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.5556, allocations: 0.7742 MB / 0.6801 GB, free: 11.01 MB / 490.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.005522/0.5611, allocations: 3.152 MB / 0.6832 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/0.5746, allocations: 3.957 MB / 0.687 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.5748, allocations: 16.55 kB / 0.687 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.5749, allocations: 35.12 kB / 0.6871 GB, free: 3.645 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 2.725e-06/0.5749, allocations: 0 / 0.6871 GB, free: 3.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.01413/0.589, allocations: 4.279 MB / 0.6913 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.5891, allocations: 89.67 kB / 0.6913 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.5906, allocations: 0.6838 MB / 0.692 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.5907, allocations: 41.7 kB / 0.6921 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.5911, allocations: 400.5 kB / 0.6924 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.5915, allocations: 248.3 kB / 0.6927 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.5916, allocations: 16 kB / 0.6927 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5917, allocations: 330 kB / 0.693 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.5928, allocations: 493.8 kB / 0.6935 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.5939, allocations: 0.5763 MB / 0.694 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.595, allocations: 0.5184 MB / 0.6945 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.595, allocations: 3.938 kB / 0.6945 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.007829/0.6028, allocations: 2.622 MB / 0.6971 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003591/0.6032, allocations: 0.7071 MB / 0.6978 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6033, allocations: 0 / 0.6978 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004895/0.6082, allocations: 1.286 MB / 0.6991 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.6088, allocations: 103.9 kB / 0.6992 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.6214, allocations: 5.894 MB / 0.7049 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.6226, allocations: 123.3 kB / 0.705 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.6228, allocations: 31.98 kB / 0.7051 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.6228, allocations: 4 kB / 0.7051 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007478/0.6303, allocations: 2.485 MB / 0.7075 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.6303, allocations: 4 kB / 0.7075 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004697/0.635, allocations: 1.287 MB / 0.7087 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.6356, allocations: 99.83 kB / 0.7088 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.6478, allocations: 5.881 MB / 0.7146 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6489, allocations: 115.5 kB / 0.7147 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.649, allocations: 27.92 kB / 0.7147 GB, free: 6.812 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true 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 () * Number of clocked 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.0005332/0.6496, allocations: 293.7 kB / 0.715 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.6498, allocations: 86.97 kB / 0.7151 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006746/0.6566, allocations: 2.475 MB / 0.7175 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6566, allocations: 8 kB / 0.7175 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.6566, allocations: 4 kB / 0.7175 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.6566, allocations: 3.984 kB / 0.7175 GB, free: 3.922 MB / 0.5105 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.008995/0.6656, allocations: 3.799 MB / 0.7212 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6657, allocations: 0 / 0.7212 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.6663, allocations: 91.89 kB / 0.7213 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003542/0.6699, allocations: 1.115 MB / 0.7224 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.67, allocations: 12 kB / 0.7224 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008927/0.6789, allocations: 4.593 MB / 0.7269 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6789, allocations: 0 / 0.7269 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007796/0.6867, allocations: 3.179 MB / 0.73 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.6871, allocations: 191.8 kB / 0.7302 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.6873, allocations: 16 kB / 0.7302 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/0.6882, allocations: 87.92 kB / 0.7303 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.6886, allocations: 128.3 kB / 0.7304 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.6886, allocations: 19.98 kB / 0.7304 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007768/0.6894, allocations: 0.5342 MB / 0.731 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.422e-06/0.6894, allocations: 4.094 kB / 0.731 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001489/0.6909, allocations: 0.5186 MB / 0.7315 GB, free: 5.332 MB / 0.5261 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: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked 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.008365/0.6993, allocations: 3.894 MB / 0.7353 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008331/0.7077, allocations: 3.336 MB / 0.7385 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7077, allocations: 0 / 0.7385 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003287/0.711, allocations: 1.323 MB / 0.7398 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.7118, allocations: 70.25 kB / 0.7399 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.7169, allocations: 4.023 MB / 0.7438 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.7177, allocations: 1.022 MB / 0.7448 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004471/0.7181, allocations: 68.84 kB / 0.7449 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.7187, allocations: 327.3 kB / 0.7452 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of SimCode: time 1.282e-06/0.7187, allocations: 0 / 0.7452 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3377/1.056, allocations: 26.91 MB / 0.7715 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/1.057, allocations: 226.8 kB / 0.7717 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/3.881, allocations: 0 / 0.7717 GB, free: 150.6 MB / 0.5573 GB (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)