Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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.Network2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2",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.001015/0.001015, allocations: 172.5 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.249/1.249, allocations: 221.5 MB / 229.6 MB, free: 3.203 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.0009266/0.0009267, allocations: 95.69 kB / 280.5 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4651/0.4651, allocations: 78.06 MB / 409.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.039e-05, allocations: 4 kB / 485 MB, free: 3.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3416, allocations: 69.34 MB / 0.5414 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.4818, allocations: 98.42 MB / 0.6375 GB, free: 6.227 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4821, allocations: 79.89 kB / 0.6376 GB, free: 6.148 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06119/0.5433, allocations: 22.41 MB / 0.6594 GB, free: 15.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5434, allocations: 0 / 0.6594 GB, free: 15.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.122e-05/0.5434, allocations: 16.66 kB / 0.6595 GB, free: 15.54 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003306/0.5468, allocations: 1.332 MB / 0.6608 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5468, allocations: 8.031 kB / 0.6608 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/0.5491, allocations: 398.3 kB / 0.6611 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.5503, allocations: 0.6527 MB / 0.6618 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.5505, allocations: 211.5 kB / 0.662 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5506, allocations: 51.83 kB / 0.662 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00108/0.5517, allocations: 0.5927 MB / 0.6626 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.5529, allocations: 0.6797 MB / 0.6633 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5529, allocations: 0 / 0.6633 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/0.553, allocations: 0 / 0.6633 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.553, allocations: 16 kB / 0.6633 GB, free: 11.47 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.00542/0.5584, allocations: 3.21 MB / 0.6664 GB, free: 8.102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008069/0.5665, allocations: 2.269 MB / 0.6686 GB, free: 5.777 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000773/0.5673, allocations: 392.8 kB / 0.669 GB, free: 5.395 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.5674, allocations: 12.77 kB / 0.669 GB, free: 5.383 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.5675, allocations: 39.3 kB / 0.6691 GB, free: 5.336 MB / 490.7 MB Notification: Performance of pre-optimization done (n=72): time 3.306e-06/0.5675, allocations: 7.938 kB / 0.6691 GB, free: 5.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=72): time 0.004753/0.5723, allocations: 1.696 MB / 0.6707 GB, free: 3.613 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.5723, allocations: 85.89 kB / 0.6708 GB, free: 3.512 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.5734, allocations: 0.6252 MB / 0.6714 GB, free: 2.883 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.5735, allocations: 25.7 kB / 0.6715 GB, free: 2.852 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.5738, allocations: 416.2 kB / 0.6718 GB, free: 2.438 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.5741, allocations: 248.2 kB / 0.6721 GB, free: 2.191 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.5742, allocations: 0 / 0.6721 GB, free: 2.191 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5743, allocations: 345.8 kB / 0.6724 GB, free: 1.848 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.5748, allocations: 337.5 kB / 0.6727 GB, free: 1.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.5755, allocations: 425.9 kB / 0.6731 GB, free: 1.078 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.5761, allocations: 378 kB / 0.6735 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5761, allocations: 0 / 0.6735 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.2941/0.8702, allocations: 1.915 MB / 0.6754 GB, free: 108.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.8704, allocations: 0.6122 MB / 0.676 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.8704, allocations: 1.844 kB / 0.676 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004147/0.8746, allocations: 1.001 MB / 0.677 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/0.8753, allocations: 107.7 kB / 0.6771 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007843/0.8831, allocations: 4.372 MB / 0.6813 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.8842, allocations: 96.75 kB / 0.6814 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.8843, allocations: 29.03 kB / 0.6814 GB, free: 106.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.8843, allocations: 3.812 kB / 0.6814 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005313/0.8896, allocations: 1.797 MB / 0.6832 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.8897, allocations: 1.188 kB / 0.6832 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00376/0.8935, allocations: 0.9999 MB / 0.6842 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.8941, allocations: 102.3 kB / 0.6843 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007211/0.9013, allocations: 4.377 MB / 0.6886 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.9023, allocations: 84.73 kB / 0.6886 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.9024, allocations: 25.52 kB / 0.6887 GB, free: 104.8 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * 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 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003226/0.9027, allocations: 129.1 kB / 0.6888 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004188/0.9069, allocations: 1.712 MB / 0.6905 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.9071, allocations: 89.5 kB / 0.6905 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.9112, allocations: 1.764 MB / 0.6923 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.9112, allocations: 10.52 kB / 0.6923 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9112, allocations: 3.719 kB / 0.6923 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.9112, allocations: 3.469 kB / 0.6923 GB, free: 103.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.005415/0.9166, allocations: 3.063 MB / 0.6953 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.9166, allocations: 3.656 kB / 0.6953 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.9172, allocations: 84.38 kB / 0.6954 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/0.9196, allocations: 0.8248 MB / 0.6962 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-05/0.9197, allocations: 11.88 kB / 0.6962 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.9244, allocations: 3.424 MB / 0.6995 GB, free: 99.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9244, allocations: 3.953 kB / 0.6995 GB, free: 99.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/0.9291, allocations: 2.362 MB / 0.7018 GB, free: 98.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.9294, allocations: 189.1 kB / 0.702 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.9296, allocations: 5.922 kB / 0.702 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.9303, allocations: 59 kB / 0.7021 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/0.9306, allocations: 126.4 kB / 0.7022 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.9306, allocations: 16.94 kB / 0.7022 GB, free: 98.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005526/0.9312, allocations: 489.2 kB / 0.7027 GB, free: 98.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9312, allocations: 0 / 0.7027 GB, free: 98.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001414/0.9326, allocations: 474.5 kB / 0.7031 GB, free: 98.37 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00485/0.9375, allocations: 3.082 MB / 0.7061 GB, free: 96.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005786/0.9433, allocations: 2.734 MB / 0.7088 GB, free: 95.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.9433, allocations: 0 / 0.7088 GB, free: 95.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.9456, allocations: 1.116 MB / 0.7099 GB, free: 94.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.9463, allocations: 57.05 kB / 0.7099 GB, free: 94.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.9498, allocations: 1.721 MB / 0.7116 GB, free: 93.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.9502, allocations: 1.033 MB / 0.7126 GB, free: 92.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005252/0.9507, allocations: 115 kB / 0.7127 GB, free: 92.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.9511, allocations: 319.4 kB / 0.713 GB, free: 92.01 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.9511, allocations: 4 kB / 0.7131 GB, free: 92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/0.996, allocations: 25.5 MB / 0.738 GB, free: 69.02 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.9962, allocations: 140.4 kB / 0.7381 GB, free: 68.83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.828, allocations: 0 / 0.7381 GB, free: 68.83 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_DAEMode_SMIB_Examples_Example_1_Network2.fmu > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)