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.000997/0.000997, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.161/1.161, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008193/0.0008193, allocations: 89.28 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4126/0.4126, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.401e-05, allocations: 0 / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3002, allocations: 69.5 MB / 0.5492 GB, free: 19.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.4181, allocations: 99.55 MB / 0.6464 GB, free: 36 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4183, allocations: 87.89 kB / 0.6465 GB, free: 15.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06019/0.4785, allocations: 22.3 MB / 0.6683 GB, free: 9.457 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4786, allocations: 0 / 0.6683 GB, free: 9.457 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.379e-05/0.4787, allocations: 16 kB / 0.6683 GB, free: 9.441 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003727/0.4824, allocations: 1.26 MB / 0.6695 GB, free: 8.137 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4825, allocations: 15.97 kB / 0.6696 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/0.4827, allocations: 94.52 kB / 0.6696 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.4852, allocations: 394.4 kB / 0.67 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.4867, allocations: 0.6057 MB / 0.6706 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4869, allocations: 146.7 kB / 0.6708 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.4871, allocations: 63.86 kB / 0.6708 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.4885, allocations: 0.6862 MB / 0.6715 GB, free: 6.062 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4886, allocations: 0 / 0.6715 GB, free: 6.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.4886, allocations: 20 kB / 0.6715 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4887, allocations: 12 kB / 0.6715 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4898, allocations: 0.5832 MB / 0.6721 GB, free: 5.445 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.005694/0.4955, allocations: 2.882 MB / 0.6749 GB, free: 2.434 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2872/0.7827, allocations: 3.711 MB / 0.6785 GB, free: 108.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/0.7837, allocations: 396 kB / 0.6789 GB, free: 108.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.175e-05/0.7838, allocations: 10.16 kB / 0.6789 GB, free: 108.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.7839, allocations: 45.7 kB / 0.679 GB, free: 108 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.585e-06/0.7839, allocations: 0 / 0.679 GB, free: 108 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.0059/0.7898, allocations: 1.937 MB / 0.6808 GB, free: 108 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.7898, allocations: 87.45 kB / 0.6809 GB, free: 107.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.7909, allocations: 0.6734 MB / 0.6816 GB, free: 107.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.277e-05/0.791, allocations: 33.61 kB / 0.6816 GB, free: 107.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.7913, allocations: 385 kB / 0.682 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.7915, allocations: 228.8 kB / 0.6822 GB, free: 107.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.7915, allocations: 18.97 kB / 0.6822 GB, free: 107.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.7916, allocations: 333.8 kB / 0.6825 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/0.7922, allocations: 338.8 kB / 0.6829 GB, free: 107.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.7928, allocations: 433.4 kB / 0.6833 GB, free: 107.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/0.7935, allocations: 375.6 kB / 0.6836 GB, free: 107.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.7935, allocations: 1.094 kB / 0.6836 GB, free: 107.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0063/0.7998, allocations: 2.183 MB / 0.6858 GB, free: 106.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.7999, allocations: 0.624 MB / 0.6864 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.7999, allocations: 0 / 0.6864 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00355/0.8035, allocations: 1.013 MB / 0.6874 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.804, allocations: 107 kB / 0.6875 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/0.8112, allocations: 4.453 MB / 0.6918 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8123, allocations: 126.7 kB / 0.6919 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.8123, allocations: 25.81 kB / 0.692 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.8123, allocations: 5.562 kB / 0.692 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005415/0.8178, allocations: 2.075 MB / 0.694 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8178, allocations: 3.125 kB / 0.694 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/0.8212, allocations: 1.015 MB / 0.695 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.8217, allocations: 102.4 kB / 0.6951 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006963/0.8287, allocations: 4.444 MB / 0.6994 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.8297, allocations: 118.1 kB / 0.6995 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.8298, allocations: 20.34 kB / 0.6996 GB, free: 100.9 MB / 490.7 MB 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.0002519/0.8301, allocations: 140.8 kB / 0.6997 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.8303, allocations: 93.38 kB / 0.6998 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/0.8353, allocations: 2.024 MB / 0.7018 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8353, allocations: 6.812 kB / 0.7018 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.8353, allocations: 10.77 kB / 0.7018 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.8354, allocations: 7.656 kB / 0.7018 GB, free: 100.1 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.006345/0.8417, allocations: 3.316 MB / 0.705 GB, free: 98.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8417, allocations: 4 kB / 0.705 GB, free: 98.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.8422, allocations: 78.81 kB / 0.7051 GB, free: 98.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/0.8448, allocations: 0.8538 MB / 0.7059 GB, free: 97.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.8448, allocations: 15.47 kB / 0.706 GB, free: 97.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004895/0.8497, allocations: 3.364 MB / 0.7092 GB, free: 94.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8498, allocations: 0 / 0.7092 GB, free: 94.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.8552, allocations: 2.589 MB / 0.7118 GB, free: 92.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.8556, allocations: 182.9 kB / 0.7119 GB, free: 92.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.8558, allocations: 23.5 kB / 0.712 GB, free: 92.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/0.8567, allocations: 78.33 kB / 0.712 GB, free: 92.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.857, allocations: 130.5 kB / 0.7122 GB, free: 92.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/0.8571, allocations: 20 kB / 0.7122 GB, free: 92.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006436/0.8577, allocations: 0.5192 MB / 0.7127 GB, free: 91.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8577, allocations: 0 / 0.7127 GB, free: 91.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001384/0.8591, allocations: 495.7 kB / 0.7132 GB, free: 91.13 MB / 490.7 MB 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.005731/0.8648, allocations: 3.314 MB / 0.7164 GB, free: 88.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005793/0.8707, allocations: 2.805 MB / 0.7191 GB, free: 85.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8707, allocations: 4 kB / 0.7191 GB, free: 85.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002245/0.8729, allocations: 1.121 MB / 0.7202 GB, free: 84.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.8736, allocations: 66.86 kB / 0.7203 GB, free: 84.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.8768, allocations: 1.632 MB / 0.7219 GB, free: 82.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.8771, allocations: 0.9957 MB / 0.7229 GB, free: 81.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005618/0.8777, allocations: 118.7 kB / 0.723 GB, free: 81.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.878, allocations: 296 kB / 0.7233 GB, free: 81.61 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.878, allocations: 0 / 0.7233 GB, free: 81.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.9156, allocations: 27.45 MB / 0.7501 GB, free: 55.58 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001233/0.9157, allocations: 190.7 kB / 0.7503 GB, free: 55.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.722, allocations: 0 / 0.7503 GB, free: 55.36 MB / 490.7 MB (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)