Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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_2.Network,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_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.00113/0.00113, allocations: 174.3 kB / 7.647 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.19/1.19, allocations: 221.5 MB / 229.6 MB, free: 3.191 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.0008356/0.0008357, allocations: 90.3 kB / 280.5 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4399/0.4399, allocations: 78.94 MB / 410.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.746e-05, allocations: 4 kB / 486 MB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3066, allocations: 69.52 MB / 0.5425 GB, free: 21.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.4288, allocations: 101 MB / 0.6412 GB, free: 2.637 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.4291, allocations: 79.95 kB / 0.6413 GB, free: 2.559 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08436/0.5135, allocations: 29.76 MB / 0.6703 GB, free: 4.609 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5135, allocations: 3.938 kB / 0.6703 GB, free: 4.605 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001265/0.5137, allocations: 24.12 kB / 0.6704 GB, free: 4.582 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004024/0.5177, allocations: 1.471 MB / 0.6718 GB, free: 3.066 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5178, allocations: 8.031 kB / 0.6718 GB, free: 3.059 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.5202, allocations: 422 kB / 0.6722 GB, free: 2.645 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.5219, allocations: 0.8527 MB / 0.673 GB, free: 1.734 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.5222, allocations: 223.8 kB / 0.6733 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.5224, allocations: 43.86 kB / 0.6733 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/0.5238, allocations: 0.7524 MB / 0.674 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2864/0.8102, allocations: 0.754 MB / 0.6748 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.8103, allocations: 4.031 kB / 0.6748 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.8103, allocations: 1.969 kB / 0.6748 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.8104, allocations: 17.19 kB / 0.6748 GB, free: 104.9 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.007263/0.8176, allocations: 3.494 MB / 0.6782 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/0.8321, allocations: 3.973 MB / 0.6821 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/0.8331, allocations: 462.7 kB / 0.6825 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.8332, allocations: 13.81 kB / 0.6825 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.8332, allocations: 52.2 kB / 0.6826 GB, free: 103.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.266e-06/0.8332, allocations: 0 / 0.6826 GB, free: 103.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005914/0.8391, allocations: 2.093 MB / 0.6846 GB, free: 103.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.8392, allocations: 117.5 kB / 0.6847 GB, free: 103.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.8407, allocations: 0.8634 MB / 0.6856 GB, free: 103.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.8409, allocations: 25.7 kB / 0.6856 GB, free: 103.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.8412, allocations: 481.9 kB / 0.6861 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.8414, allocations: 264.6 kB / 0.6863 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.8415, allocations: 1.656 kB / 0.6863 GB, free: 103.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.8416, allocations: 337.3 kB / 0.6866 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.8422, allocations: 417.2 kB / 0.687 GB, free: 102.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/0.8429, allocations: 0.5111 MB / 0.6875 GB, free: 102.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.8436, allocations: 452.5 kB / 0.688 GB, free: 102.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.8436, allocations: 1.188 kB / 0.688 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006254/0.8499, allocations: 2.337 MB / 0.6903 GB, free: 102.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.8501, allocations: 0.6169 MB / 0.6909 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.8501, allocations: 10.59 kB / 0.6909 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003723/0.8538, allocations: 1 MB / 0.6918 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/0.8548, allocations: 162.5 kB / 0.692 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/0.8617, allocations: 4.292 MB / 0.6962 GB, free: 99.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.8634, allocations: 167.4 kB / 0.6964 GB, free: 99.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8635, allocations: 32.62 kB / 0.6964 GB, free: 99.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.8635, allocations: 3.969 kB / 0.6964 GB, free: 99.01 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005667/0.8692, allocations: 2.179 MB / 0.6985 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.8692, allocations: 3.625 kB / 0.6985 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003515/0.8727, allocations: 0.9989 MB / 0.6995 GB, free: 98.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.8735, allocations: 148.8 kB / 0.6996 GB, free: 98.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006722/0.8803, allocations: 4.291 MB / 0.7038 GB, free: 95.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.8818, allocations: 147 kB / 0.704 GB, free: 95.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.8819, allocations: 29.34 kB / 0.704 GB, free: 95.61 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: 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: 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 (79): * Single equations (assignments): 76 * 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.0002815/0.8822, allocations: 119.3 kB / 0.7041 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005074/0.8872, allocations: 2.102 MB / 0.7062 GB, free: 94.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.8875, allocations: 115.8 kB / 0.7063 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/0.8927, allocations: 2.166 MB / 0.7084 GB, free: 94.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.8927, allocations: 11.03 kB / 0.7084 GB, free: 94.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8928, allocations: 3.656 kB / 0.7084 GB, free: 94.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.8928, allocations: 10.61 kB / 0.7084 GB, free: 94.15 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.006865/0.8996, allocations: 3.673 MB / 0.712 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.8997, allocations: 3.812 kB / 0.712 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/0.9005, allocations: 105.4 kB / 0.7121 GB, free: 92.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/0.903, allocations: 0.8455 MB / 0.7129 GB, free: 91.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.9031, allocations: 10.81 kB / 0.7129 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004892/0.908, allocations: 3.28 MB / 0.7161 GB, free: 88.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.908, allocations: 0 / 0.7161 GB, free: 88.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/0.9139, allocations: 2.83 MB / 0.7189 GB, free: 86.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.9144, allocations: 232.9 kB / 0.7191 GB, free: 86.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.9145, allocations: 7.844 kB / 0.7191 GB, free: 86.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.9157, allocations: 118.1 kB / 0.7192 GB, free: 85.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.916, allocations: 136.8 kB / 0.7194 GB, free: 85.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.916, allocations: 16 kB / 0.7194 GB, free: 85.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007723/0.9168, allocations: 0.6617 MB / 0.72 GB, free: 85.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.462e-06/0.9168, allocations: 1.031 kB / 0.72 GB, free: 85.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001318/0.9182, allocations: 0.5046 MB / 0.7205 GB, free: 84.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.005893/0.9241, allocations: 3.492 MB / 0.7239 GB, free: 81.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006061/0.9301, allocations: 3.014 MB / 0.7269 GB, free: 78.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.9302, allocations: 0 / 0.7269 GB, free: 78.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.9325, allocations: 1.189 MB / 0.728 GB, free: 77.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.9333, allocations: 90.25 kB / 0.7281 GB, free: 77.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.9371, allocations: 2.06 MB / 0.7301 GB, free: 75.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.9375, allocations: 1.108 MB / 0.7312 GB, free: 74.76 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007949/0.9383, allocations: 212.6 kB / 0.7314 GB, free: 74.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.9387, allocations: 400 kB / 0.7318 GB, free: 74.27 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/0.9387, allocations: 0 / 0.7318 GB, free: 74.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04767/0.9864, allocations: 30.38 MB / 0.7615 GB, free: 44.37 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001188/0.9866, allocations: 156 kB / 0.7616 GB, free: 44.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.876, allocations: 5.266 kB / 0.7616 GB, free: 44.17 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_2_Network.fmu > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)