Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001782/0.001782, allocations: 176.2 kB / 7.649 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.355/1.355, allocations: 221.5 MB / 229.6 MB, free: 7.516 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.0009063/0.0009065, allocations: 93.25 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.47/0.47, allocations: 78.94 MB / 410.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.729e-05, allocations: 4 kB / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1454, allocations: 69.52 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3808/0.5263, allocations: 98.89 MB / 0.6391 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5266, allocations: 79.95 kB / 0.6392 GB, free: 14.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06117/0.5877, allocations: 22.04 MB / 0.6607 GB, free: 8.977 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5878, allocations: 0 / 0.6607 GB, free: 8.977 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.822e-05/0.5879, allocations: 16 kB / 0.6607 GB, free: 8.961 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.003725/0.5916, allocations: 1.26 MB / 0.662 GB, free: 7.652 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.5917, allocations: 8.031 kB / 0.662 GB, free: 7.645 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.5944, allocations: 386.4 kB / 0.6623 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5959, allocations: 0.6099 MB / 0.6629 GB, free: 6.617 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.5962, allocations: 136.6 kB / 0.6631 GB, free: 6.469 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/0.5965, allocations: 35.91 kB / 0.6631 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001294/0.5978, allocations: 0.5574 MB / 0.6636 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5992, allocations: 0.6095 MB / 0.6642 GB, free: 5.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.5992, allocations: 0 / 0.6642 GB, free: 5.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.5993, allocations: 0 / 0.6642 GB, free: 5.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.5993, allocations: 20 kB / 0.6642 GB, free: 5.23 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.006131/0.6054, allocations: 2.777 MB / 0.667 GB, free: 2.344 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/0.6189, allocations: 3.701 MB / 0.6706 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009079/0.6199, allocations: 380.6 kB / 0.6709 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.62, allocations: 12.55 kB / 0.6709 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.6201, allocations: 47.06 kB / 0.671 GB, free: 14.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.998e-06/0.6201, allocations: 0 / 0.671 GB, free: 14.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.00622/0.6263, allocations: 1.886 MB / 0.6728 GB, free: 12.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.6264, allocations: 85.67 kB / 0.6729 GB, free: 12.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6275, allocations: 0.6214 MB / 0.6735 GB, free: 11.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.6276, allocations: 25.7 kB / 0.6735 GB, free: 11.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.6279, allocations: 380.6 kB / 0.6739 GB, free: 11.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.6282, allocations: 232.5 kB / 0.6741 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.6283, allocations: 1.312 kB / 0.6741 GB, free: 10.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6284, allocations: 338 kB / 0.6745 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.6289, allocations: 321.6 kB / 0.6748 GB, free: 10.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.6295, allocations: 409.9 kB / 0.6752 GB, free: 9.809 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.63, allocations: 362.1 kB / 0.6755 GB, free: 9.453 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.63, allocations: 0 / 0.6755 GB, free: 9.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006199/0.6362, allocations: 2.122 MB / 0.6776 GB, free: 7.316 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.6366, allocations: 0.6192 MB / 0.6782 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6366, allocations: 3.984 kB / 0.6782 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003922/0.6405, allocations: 1.001 MB / 0.6792 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.6412, allocations: 105.7 kB / 0.6793 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007818/0.649, allocations: 4.304 MB / 0.6835 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.6502, allocations: 111.4 kB / 0.6836 GB, free: 1.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.6502, allocations: 20 kB / 0.6836 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.6503, allocations: 5.031 kB / 0.6836 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00607/0.6563, allocations: 1.999 MB / 0.6855 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.6564, allocations: 6.812 kB / 0.6855 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/0.6603, allocations: 1.004 MB / 0.6865 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.661, allocations: 103.8 kB / 0.6866 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/0.669, allocations: 4.304 MB / 0.6908 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6702, allocations: 91.47 kB / 0.6909 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/0.6703, allocations: 27.98 kB / 0.6909 GB, free: 9.309 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.0003296/0.6707, allocations: 122.8 kB / 0.6911 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005377/0.6761, allocations: 1.893 MB / 0.6929 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.6764, allocations: 82.97 kB / 0.693 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/0.6819, allocations: 1.966 MB / 0.6949 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.682, allocations: 8 kB / 0.6949 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.682, allocations: 4 kB / 0.6949 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.682, allocations: 7.922 kB / 0.6949 GB, free: 5.184 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.007296/0.6893, allocations: 3.191 MB / 0.698 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6893, allocations: 3.438 kB / 0.698 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.6899, allocations: 83.89 kB / 0.6981 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002701/0.6926, allocations: 0.8483 MB / 0.699 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.6927, allocations: 3.953 kB / 0.699 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005372/0.6981, allocations: 3.278 MB / 0.7022 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.6981, allocations: 8 kB / 0.7022 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006485/0.7046, allocations: 2.529 MB / 0.7046 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/0.7052, allocations: 179.9 kB / 0.7048 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.7054, allocations: 4 kB / 0.7048 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.7063, allocations: 73.05 kB / 0.7049 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/0.7067, allocations: 124.3 kB / 0.705 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.7067, allocations: 16 kB / 0.705 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007277/0.7075, allocations: 487.2 kB / 0.7055 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7075, allocations: 0 / 0.7055 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001585/0.7091, allocations: 455.2 kB / 0.7059 GB, free: 9.668 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.006621/0.7157, allocations: 3.255 MB / 0.7091 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006477/0.7222, allocations: 2.713 MB / 0.7117 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7222, allocations: 0 / 0.7117 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/0.7248, allocations: 1.093 MB / 0.7128 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.7254, allocations: 54.27 kB / 0.7129 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.7291, allocations: 1.589 MB / 0.7144 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.7298, allocations: 0.9956 MB / 0.7154 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005777/0.7304, allocations: 117.3 kB / 0.7155 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.7308, allocations: 299.3 kB / 0.7158 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/0.7308, allocations: 0 / 0.7158 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.054/0.7848, allocations: 25.29 MB / 0.7405 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/0.7852, allocations: 159.7 kB / 0.7406 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.467, allocations: 4.875 kB / 0.7406 GB, free: 6.023 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network1.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)