Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.008886/0.008886, allocations: 172 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.588/1.588, allocations: 223.2 MB / 239 MB, free: 1.781 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.001011/0.001011, allocations: 95.61 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4551/0.4551, allocations: 78.53 MB / 419.8 MB, free: 44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004196, allocations: 12 kB / 499.8 MB, free: 2.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3635, allocations: 69.36 MB / 0.5558 GB, free: 38.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4902, allocations: 99.42 MB / 0.6529 GB, free: 6.922 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4906, allocations: 85.48 kB / 0.653 GB, free: 6.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06183/0.5524, allocations: 23.04 MB / 0.6755 GB, free: 15.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5524, allocations: 0 / 0.6755 GB, free: 15.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.227e-05/0.5525, allocations: 23.92 kB / 0.6755 GB, free: 15.62 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.004126/0.5566, allocations: 1.53 MB / 0.677 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.5567, allocations: 11.97 kB / 0.677 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.5569, allocations: 102.5 kB / 0.6771 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.5591, allocations: 398.4 kB / 0.6775 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.5602, allocations: 0.6448 MB / 0.6781 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.5605, allocations: 214.1 kB / 0.6783 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.5606, allocations: 67.95 kB / 0.6784 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/0.5624, allocations: 0.8773 MB / 0.6792 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.5625, allocations: 0 / 0.6792 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.041e-05/0.5626, allocations: 24 kB / 0.6793 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5626, allocations: 16 kB / 0.6793 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.5643, allocations: 0.7665 MB / 0.68 GB, free: 10.84 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.005854/0.5701, allocations: 3.152 MB / 0.6831 GB, free: 7.543 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/0.5837, allocations: 3.954 MB / 0.687 GB, free: 3.535 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.5839, allocations: 12.55 kB / 0.687 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.5839, allocations: 43.11 kB / 0.687 GB, free: 3.473 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.406e-06/0.584, allocations: 0 / 0.687 GB, free: 3.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.01385/0.5978, allocations: 4.275 MB / 0.6912 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.5979, allocations: 81.67 kB / 0.6913 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.5991, allocations: 0.6955 MB / 0.692 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.5993, allocations: 41.7 kB / 0.692 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.5996, allocations: 396.5 kB / 0.6924 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.6, allocations: 252.3 kB / 0.6926 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.6001, allocations: 16 kB / 0.6926 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6002, allocations: 330 kB / 0.6929 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.6012, allocations: 489.8 kB / 0.6934 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.6023, allocations: 0.5801 MB / 0.694 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.6033, allocations: 0.5067 MB / 0.6945 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.6033, allocations: 7.938 kB / 0.6945 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.007704/0.611, allocations: 2.626 MB / 0.697 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.6114, allocations: 0.7032 MB / 0.6977 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.6114, allocations: 4 kB / 0.6977 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/0.6163, allocations: 1.291 MB / 0.699 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.6171, allocations: 111.8 kB / 0.6991 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.6296, allocations: 5.885 MB / 0.7049 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.6309, allocations: 127.3 kB / 0.705 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.631, allocations: 24 kB / 0.705 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.631, allocations: 5.562 kB / 0.705 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007364/0.6384, allocations: 2.489 MB / 0.7074 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.6384, allocations: 0 / 0.7074 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/0.6431, allocations: 1.291 MB / 0.7087 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.6438, allocations: 99.89 kB / 0.7088 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.6568, allocations: 5.875 MB / 0.7145 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.6582, allocations: 123.3 kB / 0.7146 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.6583, allocations: 20.19 kB / 0.7147 GB, free: 6.648 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.000665/0.6589, allocations: 305 kB / 0.715 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.6592, allocations: 90.88 kB / 0.715 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006797/0.666, allocations: 2.463 MB / 0.7174 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.6661, allocations: 8 kB / 0.7175 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6661, allocations: 4 kB / 0.7175 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/0.6661, allocations: 3.984 kB / 0.7175 GB, free: 3.754 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.008888/0.675, allocations: 3.807 MB / 0.7212 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.6751, allocations: 64 / 0.7212 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/0.6757, allocations: 83.91 kB / 0.7213 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/0.6792, allocations: 1.118 MB / 0.7224 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.6794, allocations: 12 kB / 0.7224 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008848/0.6883, allocations: 4.6 MB / 0.7269 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6883, allocations: 0 / 0.7269 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007959/0.6963, allocations: 3.175 MB / 0.73 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.6967, allocations: 191.8 kB / 0.7301 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.6969, allocations: 15.98 kB / 0.7302 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008931/0.6978, allocations: 80.03 kB / 0.7302 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.6982, allocations: 136.2 kB / 0.7304 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.6982, allocations: 20 kB / 0.7304 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007287/0.699, allocations: 0.5381 MB / 0.7309 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.699, allocations: 0 / 0.7309 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00157/0.7006, allocations: 0.507 MB / 0.7314 GB, free: 5.172 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.008393/0.709, allocations: 3.9 MB / 0.7352 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008261/0.7172, allocations: 3.332 MB / 0.7385 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7173, allocations: 0 / 0.7385 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/0.7205, allocations: 1.327 MB / 0.7398 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/0.7215, allocations: 63.3 kB / 0.7398 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005697/0.7272, allocations: 4.033 MB / 0.7438 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.7279, allocations: 1.014 MB / 0.7447 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004351/0.7283, allocations: 64.86 kB / 0.7448 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.7288, allocations: 319.3 kB / 0.7451 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of SimCode: time 8.21e-07/0.7288, allocations: 0 / 0.7451 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2924/1.021, allocations: 26.92 MB / 0.7714 GB, free: 151 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/1.021, allocations: 213.6 kB / 0.7716 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/3.769, allocations: 0 / 0.7716 GB, free: 150.7 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1Mod_Network.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)