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.0009734/0.0009733, allocations: 174.3 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.215/1.215, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008687/0.0008686, allocations: 99.91 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4583/0.4583, allocations: 78.02 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.651e-05, allocations: 4 kB / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3295, allocations: 69.34 MB / 0.5481 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4503, allocations: 98.88 MB / 0.6446 GB, free: 1.543 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4506, allocations: 83.95 kB / 0.6447 GB, free: 1.461 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05754/0.5081, allocations: 22.11 MB / 0.6663 GB, free: 11.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5081, allocations: 0 / 0.6663 GB, free: 11.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.5082, allocations: 16 kB / 0.6663 GB, free: 11.14 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.002801/0.511, allocations: 1.262 MB / 0.6675 GB, free: 9.836 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5111, allocations: 15.97 kB / 0.6676 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.5112, allocations: 94.52 kB / 0.6676 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.5132, allocations: 386.4 kB / 0.668 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.5141, allocations: 0.6018 MB / 0.6686 GB, free: 8.695 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.5143, allocations: 154.7 kB / 0.6688 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.5144, allocations: 67.84 kB / 0.6688 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.5155, allocations: 0.6862 MB / 0.6695 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5156, allocations: 0 / 0.6695 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.616e-05/0.5156, allocations: 20 kB / 0.6695 GB, free: 7.742 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.5156, allocations: 12 kB / 0.6695 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.5166, allocations: 0.5832 MB / 0.6701 GB, free: 7.145 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.004581/0.5212, allocations: 2.874 MB / 0.6729 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.5339, allocations: 3.727 MB / 0.6765 GB, free: 368 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2969/0.8308, allocations: 388.9 kB / 0.6769 GB, free: 109.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.831, allocations: 12.53 kB / 0.6769 GB, free: 109.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.8311, allocations: 39.48 kB / 0.677 GB, free: 109.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.685e-06/0.8311, allocations: 0 / 0.677 GB, free: 109.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006184/0.8373, allocations: 1.936 MB / 0.6788 GB, free: 109.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.8373, allocations: 85.3 kB / 0.6789 GB, free: 109 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.8385, allocations: 0.6721 MB / 0.6796 GB, free: 108.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.8386, allocations: 36.73 kB / 0.6796 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.8389, allocations: 384.3 kB / 0.68 GB, free: 108.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.8391, allocations: 233 kB / 0.6802 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.8392, allocations: 14.12 kB / 0.6802 GB, free: 108.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.8393, allocations: 334.8 kB / 0.6805 GB, free: 108.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.8399, allocations: 338.5 kB / 0.6809 GB, free: 108.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.8405, allocations: 431.8 kB / 0.6813 GB, free: 108.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.8412, allocations: 378.9 kB / 0.6816 GB, free: 108.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.8412, allocations: 1.188 kB / 0.6816 GB, free: 108.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006853/0.8481, allocations: 2.182 MB / 0.6838 GB, free: 108.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.8483, allocations: 0.6177 MB / 0.6844 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.8483, allocations: 1.688 kB / 0.6844 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004521/0.8528, allocations: 1.018 MB / 0.6854 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.8536, allocations: 108.8 kB / 0.6855 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008224/0.8618, allocations: 4.46 MB / 0.6898 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.8631, allocations: 124.6 kB / 0.6899 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.8631, allocations: 25.53 kB / 0.69 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.8632, allocations: 3.969 kB / 0.69 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005723/0.8689, allocations: 2.075 MB / 0.692 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.869, allocations: 5.094 kB / 0.692 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003936/0.8729, allocations: 1.007 MB / 0.693 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.8736, allocations: 102 kB / 0.6931 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007347/0.8809, allocations: 4.451 MB / 0.6974 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.8821, allocations: 121 kB / 0.6975 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.8821, allocations: 17.81 kB / 0.6976 GB, free: 102.2 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.0002642/0.8824, allocations: 139.4 kB / 0.6977 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.8826, allocations: 89.56 kB / 0.6978 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/0.8876, allocations: 2.027 MB / 0.6998 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.8876, allocations: 10.47 kB / 0.6998 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8876, allocations: 14.53 kB / 0.6998 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.8876, allocations: 0 / 0.6998 GB, free: 101.5 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.006207/0.8938, allocations: 3.311 MB / 0.703 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8938, allocations: 3.938 kB / 0.703 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.8943, allocations: 80.48 kB / 0.7031 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/0.8968, allocations: 0.8557 MB / 0.7039 GB, free: 99.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.176e-05/0.8969, allocations: 14.61 kB / 0.7039 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00494/0.9018, allocations: 3.369 MB / 0.7072 GB, free: 97.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9019, allocations: 0 / 0.7072 GB, free: 97.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/0.9074, allocations: 2.591 MB / 0.7098 GB, free: 94.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.9077, allocations: 182.5 kB / 0.7099 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.9078, allocations: 16 kB / 0.71 GB, free: 94.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/0.9086, allocations: 77.91 kB / 0.71 GB, free: 94.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/0.9089, allocations: 138.6 kB / 0.7102 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.909, allocations: 19.89 kB / 0.7102 GB, free: 94.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006078/0.9096, allocations: 0.5152 MB / 0.7107 GB, free: 93.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9096, allocations: 0 / 0.7107 GB, free: 93.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001261/0.9109, allocations: 492.8 kB / 0.7112 GB, free: 93.48 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.005704/0.9166, allocations: 3.312 MB / 0.7144 GB, free: 90.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005895/0.9225, allocations: 2.809 MB / 0.7171 GB, free: 87.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.9226, allocations: 0 / 0.7171 GB, free: 87.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002294/0.9249, allocations: 1.124 MB / 0.7182 GB, free: 86.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.9255, allocations: 62.83 kB / 0.7183 GB, free: 86.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.9285, allocations: 1.634 MB / 0.7199 GB, free: 85.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.9288, allocations: 0.9967 MB / 0.7209 GB, free: 84.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005027/0.9293, allocations: 117 kB / 0.721 GB, free: 84.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.9297, allocations: 294.9 kB / 0.7213 GB, free: 83.96 MB / 490.7 MB Notification: Performance of SimCode: time 1.473e-06/0.9297, allocations: 0 / 0.7213 GB, free: 83.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.9688, allocations: 27.44 MB / 0.7481 GB, free: 58.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/0.969, allocations: 187.3 kB / 0.7482 GB, free: 57.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/3.804, allocations: 0 / 0.7482 GB, free: 57.92 MB / 490.7 MB (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)