Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_1.Network1,fileNamePrefix="OpenIPSL_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_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.001213/0.001213, allocations: 180.9 kB / 7.651 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.321/1.321, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009075/0.0009075, allocations: 95.72 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5265/0.5265, allocations: 78.07 MB / 409.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.82e-05, allocations: 3.938 kB / 485 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1525, allocations: 69.37 MB / 0.5414 GB, free: 6.754 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.568, allocations: 98.21 MB / 0.6373 GB, free: 1.223 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.5683, allocations: 81.3 kB / 0.6374 GB, free: 1.145 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05782/0.6262, allocations: 21.84 MB / 0.6587 GB, free: 11.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6262, allocations: 0 / 0.6587 GB, free: 11.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.798e-05/0.6262, allocations: 12 kB / 0.6587 GB, free: 11.33 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.002889/0.6291, allocations: 1.264 MB / 0.66 GB, free: 10.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.6292, allocations: 8.031 kB / 0.66 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.6313, allocations: 398.4 kB / 0.6603 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009079/0.6322, allocations: 0.5943 MB / 0.6609 GB, free: 8.984 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.6324, allocations: 142.3 kB / 0.6611 GB, free: 8.828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.6325, allocations: 35.91 kB / 0.6611 GB, free: 8.793 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009104/0.6334, allocations: 0.5582 MB / 0.6616 GB, free: 8.234 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.6345, allocations: 0.6172 MB / 0.6622 GB, free: 7.602 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.6345, allocations: 0 / 0.6622 GB, free: 7.602 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.6345, allocations: 4 kB / 0.6622 GB, free: 7.598 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.6346, allocations: 12 kB / 0.6623 GB, free: 7.586 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.004622/0.6392, allocations: 2.771 MB / 0.665 GB, free: 4.707 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.6526, allocations: 3.696 MB / 0.6686 GB, free: 0.957 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007825/0.6535, allocations: 384.2 kB / 0.6689 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-05/0.6536, allocations: 8.562 kB / 0.6689 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.6536, allocations: 43.12 kB / 0.669 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.795e-06/0.6536, allocations: 0 / 0.669 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.00564/0.6593, allocations: 1.894 MB / 0.6708 GB, free: 14.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.6593, allocations: 85.66 kB / 0.6709 GB, free: 14.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/0.6603, allocations: 0.6214 MB / 0.6715 GB, free: 13.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.6604, allocations: 25.7 kB / 0.6716 GB, free: 13.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.6606, allocations: 380.6 kB / 0.6719 GB, free: 13.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.6609, allocations: 228.5 kB / 0.6721 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.6609, allocations: 0 / 0.6721 GB, free: 13.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.661, allocations: 334 kB / 0.6725 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.6615, allocations: 325.6 kB / 0.6728 GB, free: 12.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.6621, allocations: 417.8 kB / 0.6732 GB, free: 12.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.6626, allocations: 358 kB / 0.6735 GB, free: 11.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6627, allocations: 0 / 0.6735 GB, free: 11.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006086/0.6687, allocations: 2.122 MB / 0.6756 GB, free: 9.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.669, allocations: 0.6192 MB / 0.6762 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.669, allocations: 4.75 kB / 0.6762 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/0.673, allocations: 0.9978 MB / 0.6772 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.6736, allocations: 107.8 kB / 0.6773 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007904/0.6815, allocations: 4.309 MB / 0.6815 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.6827, allocations: 107.4 kB / 0.6816 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.6828, allocations: 27.98 kB / 0.6816 GB, free: 3.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.6828, allocations: 4 kB / 0.6816 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006009/0.6888, allocations: 1.996 MB / 0.6836 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.6889, allocations: 4.938 kB / 0.6836 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003801/0.6927, allocations: 1 MB / 0.6845 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.6933, allocations: 99.83 kB / 0.6846 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/0.7012, allocations: 4.303 MB / 0.6888 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.7023, allocations: 91.48 kB / 0.6889 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/0.7024, allocations: 27.98 kB / 0.6889 GB, free: 11.68 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "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 () * 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.0002932/0.7027, allocations: 118.5 kB / 0.6891 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005378/0.7081, allocations: 1.905 MB / 0.6909 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.7084, allocations: 82.97 kB / 0.691 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/0.7139, allocations: 1.966 MB / 0.6929 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.714, allocations: 8 kB / 0.6929 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.714, allocations: 4 kB / 0.6929 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.714, allocations: 3.984 kB / 0.6929 GB, free: 7.551 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.007493/0.7215, allocations: 3.191 MB / 0.696 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.7216, allocations: 4 kB / 0.6961 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.7222, allocations: 80.45 kB / 0.6961 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/0.7251, allocations: 0.841 MB / 0.6969 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.7252, allocations: 11.94 kB / 0.697 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/0.7308, allocations: 3.28 MB / 0.7002 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7308, allocations: 1.875 kB / 0.7002 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006298/0.7371, allocations: 2.533 MB / 0.7026 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.7375, allocations: 183.9 kB / 0.7028 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.7376, allocations: 8 kB / 0.7028 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.7384, allocations: 71.92 kB / 0.7029 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/0.7388, allocations: 120.3 kB / 0.703 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.7388, allocations: 16 kB / 0.703 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005969/0.7394, allocations: 491.2 kB / 0.7035 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7394, allocations: 0 / 0.7035 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001311/0.7408, allocations: 447.2 kB / 0.7039 GB, free: 12.04 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 () * 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.006801/0.7476, allocations: 3.255 MB / 0.7071 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006571/0.7542, allocations: 2.705 MB / 0.7097 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.7542, allocations: 0 / 0.7097 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.7568, allocations: 1.105 MB / 0.7108 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.7576, allocations: 44.44 kB / 0.7109 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.761, allocations: 1.589 MB / 0.7124 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.7615, allocations: 0.9956 MB / 0.7134 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005533/0.7621, allocations: 122.9 kB / 0.7135 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.7624, allocations: 295.3 kB / 0.7138 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.7624, allocations: 0 / 0.7138 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04874/0.8112, allocations: 25.29 MB / 0.7385 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.8114, allocations: 147.9 kB / 0.7386 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.497, allocations: 0 / 0.7386 GB, free: 8.418 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)